Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (22 sloc) 711 Bytes
using System;
using System.Threading.Tasks;
using GraphQL.Subscription;
namespace GraphQL.Resolvers
{
public interface IEventStreamResolver
{
IObservable<object> Subscribe(ResolveEventStreamContext context);
}
public interface IEventStreamResolver<out T> : IEventStreamResolver
{
new IObservable<T> Subscribe(ResolveEventStreamContext context);
}
public interface IAsyncEventStreamResolver
{
Task<IObservable<object>> SubscribeAsync(ResolveEventStreamContext context);
}
public interface IAsyncEventStreamResolver<T> : IAsyncEventStreamResolver
{
new Task<IObservable<T>> SubscribeAsync(ResolveEventStreamContext context);
}
}
You can’t perform that action at this time.