FluentUI Compat

Home > @cascadiacollections/fluentui-compat > Async > clearImmediate

Async.clearImmediate() method

Clears an immediate execution created by setImmediate.

Signature:

clearImmediate(timerId: number, targetElement?: Element | null): void;

Parameters

Parameter

Type

Description

timerId

number

The timer ID returned by setImmediate

targetElement

Element | null

(Optional) Optional element for window context (unused but maintained for API compatibility)

Returns:

void

  • Edit this page
In this article
Back to top FluentUI React complimentary components and utilities focused on render performance