Aller au contenu principal

@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/fr/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.