UNPKG

563 BTypeScriptView Raw
1/**
2 * Invokes the function and returns the parsed body
3 * @param {[type]} functionName [description]
4 * @param {[type]} body [description]
5 * @return {[type]} [description]
6 */
7export declare function invoke<T>(functionName: string, body: object | string): Promise<T>;
8/**
9 * Invokes the event
10 * @param {[type]} functionName [description]
11 * @param {[type]} body [description]
12 * @return {[type]} [description]
13 */
14export declare function invokeEvent(functionName: string, body: object | string): Promise<boolean>;