Class AbstractController<T, R>
Constructors
constructor
-
Parameters
-
mapping: any
-
buildFingerprint: any
Properties
Protected buildFingerprint
buildFingerprint: string
Protected context
context: any
Protected mapping
mapping: any
Methods
Protected compute
- compute(event: any): Promise<undefined | R>
-
Parameters
Returns Promise<undefined | R>
Abstract executeInputEvent
- executeInputEvent(input: T): R
Abstract executeScheduledEvent
- executeScheduledEvent(): void
Protected onError
- onError(e: Error): Promise<void>
-
Parameters
Returns Promise<void>
runLambda
- runLambda(input: T, context: any): Promise<object>
-
Parameters
Returns Promise<object>