Fork me on GitHub
#onyx
<
2017-01-17
>
richardwong03:01:27

How should I delete the window if set :trigger/period to [1000 :millisecond]? I also trying to remove the trigger by return nil in refinement. But it begins to bump nil in trigger.

michaeldrogalis04:01:30

@richardwong Windows can’t be deleted. If they are used in combination with a discarding trigger refinement, their content is set to nil, and internally the record of the window contents is removed.

michaeldrogalis04:01:46

I don’t understand what you mean by “remove the trigger”. Triggers, also, cannot be removed.

isaac05:01:21

How to clean the window state of extents, I found the window will hold all extents that window aggregated?

richardwong06:01:34

Remove the trigger means stop :trigger/period bump process. after set window state to nil I still can get the sync method being called..

michaeldrogalis15:01:23

@isaac A window contents aren’t subject to “set the whole thing to nil”, or something like that. If you want a clean state, kill off the job and start a new one.

michaeldrogalis15:01:57

@richardwong Triggers will continue to fire on their period interval regardless of their contents.