Table of Contents

Class ThirdwebTask

Namespace
Thirdweb
Assembly
Thirdweb.dll
public static class ThirdwebTask
Inheritance
ThirdwebTask
Inherited Members

Methods

Delay(int, CancellationToken)

Simulates a delay without using Task.Delay or System.Threading.Timer, specifically designed to avoid clashing with WebGL threading.

public static Task Delay(int millisecondsDelay, CancellationToken cancellationToken = default)

Parameters

millisecondsDelay int

The number of milliseconds to delay.

cancellationToken CancellationToken

A cancellation token to cancel the delay.

Returns

Task

A task that completes after the specified delay.