Type alias SubscribeMiddleware<State, Subscription>

SubscribeMiddleware<State, Subscription>: ((provider) => ((subscribe) => Subscription["subscribe"]))

Type Parameters

Type declaration

    • (provider): ((subscribe) => Subscription["subscribe"])
    • Middleware to apply to a MessageSubscription.

      Parameters

      Returns ((subscribe) => Subscription["subscribe"])

        • (subscribe): Subscription["subscribe"]
        • Parameters

          • subscribe: Subscription["subscribe"]

          Returns Subscription["subscribe"]

Generated using TypeDoc