Type alias SubscribeMiddleware<State, Subscription>
SubscribeMiddleware<State, Subscription>: ((provider) => ((subscribe) => Subscription["subscribe"]))
Type declaration
- (provider): ((subscribe) => Subscription["subscribe"])
Returns ((subscribe) => Subscription["subscribe"])
- (subscribe): Subscription["subscribe"]
Parameters
subscribe: Subscription["subscribe"]
Returns Subscription["subscribe"]
Middleware to apply to a MessageSubscription.