public static RunningStatechart <TContext> Interpret <TContext>(ExecutableStatechart <TContext> statechart, CancellationToken cancellationToken, InterpreterOptions options = null) // options e.g. Logger where TContext : IContext <TContext> => new RunningStatechart <TContext>(statechart, cancellationToken, options ?? new InterpreterOptions());
public static RunningStatechart <TContext> Interpret <TContext>(ExecutableStatechart <TContext> statechart, InterpreterOptions options = null) // options e.g. Logger where TContext : IContext <TContext> => Interpret(statechart, CancellationToken.None, options);