Skip to main content

Interface: ApplyCallOptions

Options of applyCall and applyCallAsync.

Methods​

canCall()?​

optional canCall(call): boolean;

Decides whether a call may run, after its target and name are resolved and before anything runs. Returning false throws a CallError with code Forbidden; an error it throws passes through as it is. Reading call.args decodes the arguments (once).

Defaults to allowModelActions.

Parameters​

ParameterType
callResolvedCall

Returns​

boolean