Interface ISubscriptionProvider
Namespace: Apollo.Abstractions
Assembly: Apollo.dll
public interface ISubscriptionProvider
Methods
AddSubscription(SubscriptionConfig, Func<ApolloContext, CancellationToken, Task>)
ISubscription AddSubscription(SubscriptionConfig config, Func<ApolloContext, CancellationToken, Task> handler)
Parameters
config
SubscriptionConfig
handler
Func<ApolloContext, CancellationToken, Task>