Commit Graph

5 Commits (610aa53a9320e786f4d70bd8da038e27e019c58c)

Author SHA1 Message Date
David Kebler 48b6680585 0.2.24
interrupts:
 better integration with single interrupt methods via common function
 better event bubble up from single interrupt
 allow access to methods via a socket if enabled  (same with single)
 allow consumer reply access to reset method (same with single)
Interrupt:
  improve handling of interval reset with new method
2020-01-06 23:26:37 -08:00
David Kebler 216bd6b98d 0.2.23 Rework interrupts - remove listen methods and automatically send and emit on any one individual interrupt/reset emit
alos bubble up connection events from individual interrupts
Improved/updated examples , remote example can connect to single or mutliple interrupt example
2019-12-23 14:21:12 -08:00
David Kebler 01d2ebd3a1 0.2.22
interrupts class
extends base on interrupts class
change collection of individual interrupts to a Map
method: listenReset, for setting handler for emitted reset of each single interrupt
method: addInterSocket, to add identical consumer socket to each interrupt
interrupt class
add resetEnabled option
switch default edge to 'both'
refactor status method
refactor reset method
No hook by default, registerHook without argument sets the default hook
refactored examples

update deps
2019-11-21 10:06:24 -08:00
David Kebler cc75908894 add single push command for multiple interrupts 2018-07-31 10:05:13 -07:00
David Kebler 12143f58e4 upgrade to esm from @std/esm 2018-05-16 07:12:14 -07:00