Delay(TimeSpan,CancellationToken)

Method in YarnTask

Summary

Creates a YarnTask that delays for the time indicated by timeSpan , and then returns.

public static partial YarnTask Delay(TimeSpan timeSpan, CancellationToken token)

Parameters

Name
Description

TimeSpan timeSpan

The amount of time to wait.

CancellationToken token

A token that can be used to cancel the task.

Returns

A new YarnTask .

Last updated

Was this helpful?