hook_again
Behaviour
Section titled “Behaviour”- If the hook is being strongly executed then flag this specific hook in the chain for Again As Weak Execution.
- If the originating transaction successfully is applied then the hook will be called again in a second, Weak Execution.
Definition
Section titled “Definition”int64_t hook_again(void);
function hook_again(): ErrorCode | number
Example
Section titled “Example”int64_t result = hook_again();
const result = hook_again()
Parameters
Section titled “Parameters”This API has no parameters
Return Code
Section titled “Return Code”Type | Description |
---|---|
int64_t | 1 iff successfully flagged for Again As Weak.PREREQUISITE_NOT_MET - This hook is already being executed weakly at the time of the call. ALREADY_SET - The function was already called this execution. |
Type | Description |
---|---|
number | Returns a status code indicating the result of the operation. |