@jetjs/streams
interface Subscription
Properties
Property | Type | Description |
---|---|---|
unsubscribe | UnsubscribeFn |
Methods
Method | Return | Description |
---|---|---|
onUnsubscribe(callback) | void |
Property Details
-
unsubscribe Property
Signature:unsubscribe: UnsubscribeFn;
Method Details
-
onUnsubscribe(callback) Method
Signature:onUnsubscribe(callback: CancelFn): void;
Returns:void
Parameter Type Description callback CancelFn