kibana/docs/development/plugins/expressions/public/kibana-plugin-plugins-expressions-public.expressionsservicestart.fork.md
2020-09-30 09:10:28 +02:00

957 B

Home > kibana-plugin-plugins-expressions-public > ExpressionsServiceStart > fork

ExpressionsServiceStart.fork property

Create a new instance of ExpressionsService. The new instance inherits all state of the original ExpressionsService, including all expression types, expression functions and context. Also, all new types and functions registered in the original services AFTER the forking event will be available in the forked instance. However, all new types and functions registered in the forked instances will NOT be available to the original service.

Signature:

fork: () => ExpressionsService;