Skip to content

Documentation


Documentation / @blazetrails/activesupport / Around

Class: Around ​

Defined in: packages/activesupport/lib/callbacks.ts:529

Constructors ​

Constructor ​

new Around(userCallback, userConditions): Around

Defined in: packages/activesupport/lib/callbacks.ts:533

Parameters ​

ParameterType
userCallbackCallTemplate
userConditions(target, value) => boolean[]

Returns ​

Around

Methods ​

apply() ​

apply(callbackSequence): CallbackSequence

Defined in: packages/activesupport/lib/callbacks.ts:541

Parameters ​

ParameterType
callbackSequenceCallbackSequence

Returns ​

CallbackSequence


build() ​

static build(callback): (target, block) => unknown

Defined in: packages/activesupport/lib/callbacks.ts:545

Parameters ​

ParameterType
callbackCallback

Returns ​

(target, block) => unknown