hookable

hookable

Methods

Public methods


Method registerHook()

Register a hook on a router

Usage

hookable$registerHook(stage, handler)

Arguments

stage

a character string.

handler

a hook function.


Method registerHooks()

Register hooks on a router

Usage

hookable$registerHooks(handlers)

Arguments

handlers

a named list of hook functions.


Method clone()

The objects of this class are cloneable with this method.

Usage

hookable$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.