- digOn_<TInEvent, TOutEvent>(extract): ((this, input) => OnEvent<TOutEvent>)
-
Type Parameters
-
TInEvent extends any[]
-
TOutEvent extends any[]
Parameters
-
extract: ((this, ...event) => undefined | void | EventSupplier<TOutEvent>)
-
- (this, ...event): undefined | void | EventSupplier<TOutEvent>
-
Parameters
-
this: void
-
Rest
...event: TInEvent
Returns undefined | void | EventSupplier<TOutEvent>
Returns ((this, input) => OnEvent<TOutEvent>)
New event processor.
-
- (this, input): OnEvent<TOutEvent>
-
Parameters
-
this: void
-
input: OnEvent<TInEvent>
Returns OnEvent<TOutEvent>
Creates an event processor that extracts event senders from incoming events, and does not share the outgoing events supply.
The outgoing events supply is cut off once the incoming events supply do.