function hasPendingWorkScope
hasPendingWorkScope(): boolean

True when running inside a runWithPendingWork scope (i.e. a request).

Return Type

boolean

Usage

import { hasPendingWorkScope } from "doc.ts";