Class ReplayableDefinition

Assembly: redb.Route.dll

Scope-opener definition for a replay checkpoint (save-point) — .Replayable("name").
Its RouteDefinitionBase<TSelf>.Outputs are the body of the marker (the tail
after it). wraps that body in a
(which snapshots the exchange on each pass) and registers the compiled body in the context's
checkpoint registry so
can re-run it — no synthetic endpoint.

At the very start of a route the body is the whole pipeline and no End is needed (an
unclosed scope is structurally valid); in the middle or when several markers are used, close with
/ the universal , or use the lambda-body DSL overload.

public class ReplayableDefinition : RouteDefinitionBase<ReplayableDefinition>, IRouteDefinition, IProcessorDefinition, IRouteScope, IScopeNestingRule

Inheritance

Implements

Inherited Members

Properties

Exposed

When true, the marker is also an addressable public entry (for .To(...) from

public bool Exposed { get; }

MarkerName

The save-point name (unique within the route; key of the checkpoint registry).

public string MarkerName { get; }

Methods

CheckAncestor(IProcessorDefinition)

Nesting policy (see ): a checkpoint's tail cannot span a

public NestingVerdict CheckAncestor(IProcessorDefinition ancestor)

CreateProcessor(IRouteContext)

Compile this node into a runtime processor.

public override IProcessor CreateProcessor(IRouteContext context)

End()

Closes this scope and returns the parent .

public IRouteDefinition End()

EndReplayable()

Closes this replay scope and returns the parent route definition.

public IRouteDefinition EndReplayable()