Пример #1
0
        public static async ValueTask <T> SendSimpleSubscription <T>(this IResolverContext context, string subscriptionName, T payload)
        {
            await context.SendEventMessage(new SimpleEventMessage <T>(subscriptionName, payload));

            return(payload);
        }