Table of Contents

Delegate BlockerFactory

Namespace
MackySoft.Navigathena
Assembly
MackySoft.Navigathena.dll

Constructs a blocker inside runtime-owned resources, including when construction fails.

public delegate ValueTask<IBlockerPresenter> BlockerFactory(BlockerPreparationContext preparation, CancellationToken cancellationToken)

Parameters

preparation BlockerPreparationContext
Constructs a blocker inside runtime-owned resources, including when construction fails.
cancellationToken CancellationToken
Constructs a blocker inside runtime-owned resources, including when construction fails.

Returns

ValueTask<IBlockerPresenter>
Constructs a blocker inside runtime-owned resources, including when construction fails.

Remarks

The runtime checks cancellation before invocation and after completion. The factory forwards the token to ongoing work; it need not repeat the entry check. Cancellation does not skip cleanup of partial construction.