View Source Extreme.SharedSubscription (extreme v1.1.0)
This module contains functions shared between Extreme.Subscription and Extreme.ReadingSubscription.
Summary
Functions
Calls subscriber with {:on_event, event}, expecting :ok as result in order to apply backpressure.
Executes fun function for decoding response and responds on that message.
Sends subscription request and waits for positive response. Returns {:ok, subscription_confirmation}.
Sends unsubscribe "fire and forget" request to EventStoreDB.
Functions
Calls subscriber with {:on_event, event}, expecting :ok as result in order to apply backpressure.
Executes fun function for decoding response and responds on that message.
Sends subscription request and waits for positive response. Returns {:ok, subscription_confirmation}.
Sends unsubscribe "fire and forget" request to EventStoreDB.