Skip to content

Documentation


Documentation / @blazetrails/actionpack / ActionView / capture

Function: capture() ​

Call Signature ​

capture<TArgs>(this, block, ...args): Promise<SafeBuffer | null>

Defined in: packages/actionview/dist/helpers/capture-helper.d.ts:8

Type Parameters ​

Type Parameter
TArgs extends unknown[]

Parameters ​

ParameterType
thisCaptureHelperHost
block(...args) => PromiseLike<unknown>
...argsTArgs

Returns ​

Promise<SafeBuffer | null>

Call Signature ​

capture<TArgs>(this, block, ...args): SafeBuffer | null

Defined in: packages/actionview/dist/helpers/capture-helper.d.ts:9

Type Parameters ​

Type Parameter
TArgs extends unknown[]

Parameters ​

ParameterType
thisCaptureHelperHost
block(...args) => unknown
...argsTArgs

Returns ​

SafeBuffer | null