Skip to content

Opensearch dashboards.handlerfunction

Home > opensearch-dashboards > HandlerFunction

HandlerFunction type

A function that accepts a context object and an optional number of additional arguments. Used for the generic types in IContextContainer

Signature:

export declare type HandlerFunction<T extends object> = (context: T, ...args: any[]) => any;