Skip to content

PrismHooks.run method

PrismHooks › run

Unofficial

Runs all callbacks registered for a hook.

Signature:

run(name: string, env: Environment): void

Parameters:

Parameter Type Description
name string The hook name.
env Environment The environment object.

Returns: void