Skip to content

getAsyncOperationHook

Gets the installed AsyncOperationHook.

Import:

import { getAsyncOperationHook } from '@mnaoumov/typescript-lib/async-operation-hook';

Signature:

function getAsyncOperationHook(): AsyncOperationHook | null

Returns: AsyncOperationHook | null — The installed hook, or null when none is installed.