You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extend PRandomImpulseSequence's every() method across all Pattern subclasses, so that any pattern is able to schedule its own periodic events.
This means a that hook will need to be injected at the start of every class's __next__ method. Nicest option is probably to alter the convention so that the generic processing method for Pattern subclasses becomes next(), and have the top-level Pattern class define a generic __next__ method that triggers hooks before calling and returning self.next().
The text was updated successfully, but these errors were encountered:
Extend
PRandomImpulseSequence
'severy()
method across allPattern
subclasses, so that any pattern is able to schedule its own periodic events.This means a that hook will need to be injected at the start of every class's
__next__
method. Nicest option is probably to alter the convention so that the generic processing method forPattern
subclasses becomesnext()
, and have the top-levelPattern
class define a generic__next__
method that triggers hooks before calling and returningself.next()
.The text was updated successfully, but these errors were encountered: