public static IEventFlowOptions RunOnStartup(this IEventFlowOptions eventFlowOptions, Action startupAction)
 {
     return(eventFlowOptions
            .RunOnStartup(_ =>
     {
         startupAction();
         return Task.FromResult(true);
     }));
 }
 public static IEventFlowOptions RunOnStartup(this IEventFlowOptions eventFlowOptions, Func <CancellationToken, Task> startupAction)
 {
     return(eventFlowOptions
            .RunOnStartup(new ActionBootstrap(startupAction)));
 }