Type Alias ArvoEventHandlerFunction<TContract>

ArvoEventHandlerFunction<TContract>: {
    [V in ArvoSemanticVersion & keyof TContract["versions"]]: ((params: ArvoEventHandlerFunctionInput<VersionedArvoContract<TContract, V>>) => Promise<ArvoEventHandlerFunctionOutput<VersionedArvoContract<TContract, V>>[] | ArvoEventHandlerFunctionOutput<VersionedArvoContract<TContract, V>> | void>)
}

Defines the structure of an ArvoEvent handler function.

Type Parameters

  • TContract extends ArvoContract