ngaro icon indicating copy to clipboard operation
ngaro copied to clipboard

Use a delegate config struct for Option

Open db47h opened this issue 6 years ago • 0 comments

vm.Option directly set Intsance fields, which is bad, it should use a delegate config structure.

With the recent addition of Ticker where using Option would be safe, we need cater for most use cases before switching to a cfg struct.

For example, a ticker function might need to remove itself, or change the tick interval.

Also need to provide more control over the instance to Go code running it.

db47h avatar Jun 03 '18 10:06 db47h