enqueue
Enqueues a function to run after the current batch.
Signature
Section titled “Signature”import { enqueue } from '@reaxium/core';
function enqueue(fn: () => void): void
Parameters
Section titled “Parameters”Name | Type | Description |
---|---|---|
fn | () => void | Function to enqueue. |