IReplPagerRenderer
Renders result-flow payloads in an interactive human terminal pager.
- Kind:
Interface - Namespace: Repl
- Assembly:
Repl.Core - Source: src/Repl.Core/ResultFlow/IReplPagerRenderer.cs
Signature
Section titled “Signature”public interface IReplPagerRendererMethods
Section titled “Methods”RenderAsync(ReplPagerRenderContext, CancellationToken)
Section titled “RenderAsync(ReplPagerRenderContext, CancellationToken)”Renders the pager session.
ValueTask RenderAsync(ReplPagerRenderContext context, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”context(ReplPagerRenderContext): Pager render context.cancellationToken(CancellationToken): Cancellation token.
Returns
Section titled “Returns”ValueTask - A value task that completes when the pager session exits.
Properties
Section titled “Properties”Gets the pager mode handled by this renderer.
ReplPagerMode Mode { get; }