voxa
Version:
A fsm (state machine) framework for Alexa, Dialogflow, Facebook Messenger and Botframework apps using Node.js
8 lines (7 loc) • 308 B
TypeScript
/// <reference types="node" />
import { Context as AWSLambdaContext } from "aws-lambda";
export declare function timeout(context: AWSLambdaContext): {
timerPromise: Promise<void>;
timer: NodeJS.Timer | undefined;
};
export declare function isLambdaContext(context: any): context is AWSLambdaContext;