Skip to main content

@log-right/base > ResultConfigBase

ResultConfigBase interfaceโ€‹

Result object configuration parameters to be applied to a specific event type

Signature:
export interface ResultConfigBase<TCallback extends CallbackFunction = CallbackFunction> extends EventConfig 
Extends: [EventConfig](/log-right/docs/base.eventconfig)

Propertiesโ€‹

PropertyTypeDescription
callback?TCallback(Optional) This function is user-defined, and will be called when a specified result is called
throwOnEvent?unknown | null(Optional) An object that is thrown if the Result occurs. If nothing is provided, nothing will be thrown.