Library
data class Library(val name: String, val functions: Set<Function<*>>, val onLoad: (Context) -> Unit? = null, val hooks: PipelineHooks? = null)
A bundle of functions that can be called from a Quarkdown source.
Parameters
name
name of the library
functions
functions the library makes available to call
onLoad
optional action to run when the library is loaded in a context
hooks
optional actions to run after each stage of a pipeline where this library is registered in has been completed