Table of Contents

Class AutoBatchScheduler

Namespace
GreenDonut
Assembly
GreenDonut.dll

Defines a batch dispatcher that immediately dispatches batch jobs.

public class AutoBatchScheduler : IBatchScheduler
Inheritance
AutoBatchScheduler
Implements
Inherited Members

Constructors

AutoBatchScheduler()

public AutoBatchScheduler()

Properties

Default

Gets the default instance if the AutoBatchScheduler.

public static AutoBatchScheduler Default { get; }

Property Value

AutoBatchScheduler

Methods

Schedule(Func<ValueTask>)

Schedules a new job to the dispatcher that is immediately executed.

public void Schedule(Func<ValueTask> dispatch)

Parameters

dispatch Func<ValueTask>

The job that is being scheduled.