EventLoopExtensions
A set of useful extensions for the event loop.
Enqueues another action without considering the cancellation token.
public static Task<T> EnqueueAsync<T>(this IEventLoop loop, Func<CancellationToken, T> action, TaskPriority priority = 1)
Enqueues another function with respecting the async nature.
Exceptions will be emitted respectively.