kibana/docs/development/core/server/kibana-plugin-server.handlerfunction.md

576 B

Home > kibana-plugin-server > 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;