Table of Contents

Interface IRunner

Namespace
MVVrus.AspNetCore.ActiveSession
Assembly
MVVrus.AspNetCore.ActiveSession.dll

A base, non-typed part of any generic runner interface, IRunner<TResult>

public interface IRunner
Extension Methods

Remarks

Contains properties and methods of any runner that are independent on its result type.

Fields

CURRENT_POSITION

Constant indicating the use of current Position, as a fetch start position.

DEFAULT_ADVANCE

Constant indicating the use of default value as a desired advance of a Position.

MAXIMUM_ADVANCE

Constant indicating the use of maximum available value as a desired advance of a Position.

Properties

CompletionToken

The CancellationToken that will be cancelled then the runner execution is completed.

Exception

The exception that causes the runner to come to the Failed status, otherwise - null.

ExtraData

Allows attach and access to arbitrary data attached to thr runner

Id

The runner identifier.

IsBackgroundExecutionCompleted

Indicate whether the background operation is completed.

Position

Current position of the runner object.

Status

Current status of the runner object.

Methods

Abort(string?)

Method that terminates the runner execution.

GetProgress()

Returns information about progress of background operation of a runner.