InvocationContextInit interface
For testing purposes only. This will always be constructed for you when run in the context of the Azure Functions runtime
Properties
| function |
Defaults to 'unknown' if not specified |
| invocation |
Defaults to 'unknown' if not specified |
| log |
Defaults to Node.js console if not specified |
| options | Defaults to a trigger with 'unknown' type and name if not specified |
| retry |
|
| trace |
|
| trigger |
Property Details
functionName
Defaults to 'unknown' if not specified
functionName?: string
Property Value
string
invocationId
Defaults to 'unknown' if not specified
invocationId?: string
Property Value
string
logHandler
options
Defaults to a trigger with 'unknown' type and name if not specified
options?: Partial<EffectiveFunctionOptions>
Property Value
Partial<EffectiveFunctionOptions>