{ "id": "bfetch", "client": { "classes": [], "functions": [ { "parentPluginId": "bfetch", "id": "def-public.split", "type": "Function", "tags": [], "label": "split", "description": [ "\nReceives observable that emits strings, and returns a new observable\nthat also returns strings separated by delimiter.\n\nInput stream:\n\n asdf.f -> df..aaa. -> dfsdf\n\nOutput stream, assuming \".\" is used as delimiter:\n\n asdf -> fdf -> aaa -> dfsdf\n" ], "signature": [ "(delimiter?: string) => (in$: ", "Observable", ") => ", "Observable", "" ], "path": "src/plugins/bfetch/public/streaming/split.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-public.split.$1", "type": "string", "tags": [], "label": "delimiter", "description": [], "signature": [ "string" ], "path": "src/plugins/bfetch/public/streaming/split.ts", "deprecated": false, "isRequired": true } ], "returnComment": [], "initialIsOpen": false } ], "interfaces": [], "enums": [], "misc": [ { "parentPluginId": "bfetch", "id": "def-public.BatchedFunc", "type": "Type", "tags": [], "label": "BatchedFunc", "description": [], "signature": [ "(payload: Payload, signal?: AbortSignal | undefined) => Promise" ], "path": "src/plugins/bfetch/public/batching/types.ts", "deprecated": false, "returnComment": [], "children": [ { "parentPluginId": "bfetch", "id": "def-public.BatchedFunc.$1", "type": "Uncategorized", "tags": [], "label": "payload", "description": [], "signature": [ "Payload" ], "path": "src/plugins/bfetch/public/batching/types.ts", "deprecated": false }, { "parentPluginId": "bfetch", "id": "def-public.BatchedFunc.$2", "type": "Object", "tags": [], "label": "signal", "description": [], "signature": [ "AbortSignal | undefined" ], "path": "src/plugins/bfetch/public/batching/types.ts", "deprecated": false } ], "initialIsOpen": false } ], "objects": [], "start": { "parentPluginId": "bfetch", "id": "def-public.BfetchPublicContract", "type": "Interface", "tags": [], "label": "BfetchPublicContract", "description": [], "path": "src/plugins/bfetch/public/plugin.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-public.BfetchPublicContract.fetchStreaming", "type": "Function", "tags": [], "label": "fetchStreaming", "description": [], "signature": [ "(params: ", "FetchStreamingParams", ") => { xhr: XMLHttpRequest; stream: ", "Observable", "; }" ], "path": "src/plugins/bfetch/public/plugin.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-public.BfetchPublicContract.fetchStreaming.$1", "type": "Object", "tags": [], "label": "params", "description": [], "signature": [ "FetchStreamingParams" ], "path": "src/plugins/bfetch/public/plugin.ts", "deprecated": false, "isRequired": true } ], "returnComment": [] }, { "parentPluginId": "bfetch", "id": "def-public.BfetchPublicContract.batchedFunction", "type": "Function", "tags": [], "label": "batchedFunction", "description": [], "signature": [ "(params: ", "StreamingBatchedFunctionParams", ") => ", { "pluginId": "bfetch", "scope": "public", "docId": "kibBfetchPluginApi", "section": "def-public.BatchedFunc", "text": "BatchedFunc" }, "" ], "path": "src/plugins/bfetch/public/plugin.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-public.BfetchPublicContract.batchedFunction.$1", "type": "Object", "tags": [], "label": "params", "description": [], "signature": [ "StreamingBatchedFunctionParams", "" ], "path": "src/plugins/bfetch/public/plugin.ts", "deprecated": false, "isRequired": true } ], "returnComment": [] } ], "lifecycle": "start", "initialIsOpen": true } }, "server": { "classes": [], "functions": [], "interfaces": [ { "parentPluginId": "bfetch", "id": "def-server.BatchProcessingRouteParams", "type": "Interface", "tags": [], "label": "BatchProcessingRouteParams", "description": [], "signature": [ { "pluginId": "bfetch", "scope": "server", "docId": "kibBfetchPluginApi", "section": "def-server.BatchProcessingRouteParams", "text": "BatchProcessingRouteParams" }, "" ], "path": "src/plugins/bfetch/server/plugin.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-server.BatchProcessingRouteParams.onBatchItem", "type": "Function", "tags": [], "label": "onBatchItem", "description": [], "signature": [ "(data: BatchItemData) => Promise" ], "path": "src/plugins/bfetch/server/plugin.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-server.BatchProcessingRouteParams.onBatchItem.$1", "type": "Uncategorized", "tags": [], "label": "data", "description": [], "signature": [ "BatchItemData" ], "path": "src/plugins/bfetch/server/plugin.ts", "deprecated": false, "isRequired": true } ], "returnComment": [] } ], "initialIsOpen": false } ], "enums": [], "misc": [], "objects": [], "setup": { "parentPluginId": "bfetch", "id": "def-server.BfetchServerSetup", "type": "Interface", "tags": [], "label": "BfetchServerSetup", "description": [], "path": "src/plugins/bfetch/server/plugin.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-server.BfetchServerSetup.addBatchProcessingRoute", "type": "Function", "tags": [], "label": "addBatchProcessingRoute", "description": [], "signature": [ "(path: string, handler: (request: ", { "pluginId": "core", "scope": "server", "docId": "kibCoreHttpPluginApi", "section": "def-server.KibanaRequest", "text": "KibanaRequest" }, ") => ", { "pluginId": "bfetch", "scope": "server", "docId": "kibBfetchPluginApi", "section": "def-server.BatchProcessingRouteParams", "text": "BatchProcessingRouteParams" }, ") => void" ], "path": "src/plugins/bfetch/server/plugin.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-server.BfetchServerSetup.addBatchProcessingRoute.$1", "type": "string", "tags": [], "label": "path", "description": [], "signature": [ "string" ], "path": "src/plugins/bfetch/server/plugin.ts", "deprecated": false, "isRequired": true }, { "parentPluginId": "bfetch", "id": "def-server.BfetchServerSetup.addBatchProcessingRoute.$2", "type": "Function", "tags": [], "label": "handler", "description": [], "signature": [ "(request: ", { "pluginId": "core", "scope": "server", "docId": "kibCoreHttpPluginApi", "section": "def-server.KibanaRequest", "text": "KibanaRequest" }, ") => ", { "pluginId": "bfetch", "scope": "server", "docId": "kibBfetchPluginApi", "section": "def-server.BatchProcessingRouteParams", "text": "BatchProcessingRouteParams" }, "" ], "path": "src/plugins/bfetch/server/plugin.ts", "deprecated": false, "isRequired": true } ], "returnComment": [] }, { "parentPluginId": "bfetch", "id": "def-server.BfetchServerSetup.addStreamingResponseRoute", "type": "Function", "tags": [], "label": "addStreamingResponseRoute", "description": [], "signature": [ "(path: string, params: (request: ", { "pluginId": "core", "scope": "server", "docId": "kibCoreHttpPluginApi", "section": "def-server.KibanaRequest", "text": "KibanaRequest" }, ") => ", { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.StreamingResponseHandler", "text": "StreamingResponseHandler" }, ") => void" ], "path": "src/plugins/bfetch/server/plugin.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-server.BfetchServerSetup.addStreamingResponseRoute.$1", "type": "string", "tags": [], "label": "path", "description": [], "signature": [ "string" ], "path": "src/plugins/bfetch/server/plugin.ts", "deprecated": false, "isRequired": true }, { "parentPluginId": "bfetch", "id": "def-server.BfetchServerSetup.addStreamingResponseRoute.$2", "type": "Function", "tags": [], "label": "params", "description": [], "signature": [ "(request: ", { "pluginId": "core", "scope": "server", "docId": "kibCoreHttpPluginApi", "section": "def-server.KibanaRequest", "text": "KibanaRequest" }, ") => ", { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.StreamingResponseHandler", "text": "StreamingResponseHandler" }, "" ], "path": "src/plugins/bfetch/server/plugin.ts", "deprecated": false, "isRequired": true } ], "returnComment": [] } ], "lifecycle": "setup", "initialIsOpen": true }, "start": { "parentPluginId": "bfetch", "id": "def-server.BfetchServerStart", "type": "Interface", "tags": [], "label": "BfetchServerStart", "description": [], "path": "src/plugins/bfetch/server/plugin.ts", "deprecated": false, "children": [], "lifecycle": "start", "initialIsOpen": true } }, "common": { "classes": [ { "parentPluginId": "bfetch", "id": "def-common.ItemBuffer", "type": "Class", "tags": [], "label": "ItemBuffer", "description": [ "\nA simple buffer that collects items. Can be cleared or flushed; and can\nautomatically flush when specified number of items is reached." ], "signature": [ { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.ItemBuffer", "text": "ItemBuffer" }, "" ], "path": "src/plugins/bfetch/common/buffer/item_buffer.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.ItemBuffer.Unnamed", "type": "Function", "tags": [], "label": "Constructor", "description": [], "signature": [ "any" ], "path": "src/plugins/bfetch/common/buffer/item_buffer.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.ItemBuffer.Unnamed.$1", "type": "Object", "tags": [], "label": "params", "description": [], "signature": [ { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.ItemBufferParams", "text": "ItemBufferParams" }, "" ], "path": "src/plugins/bfetch/common/buffer/item_buffer.ts", "deprecated": false, "isRequired": true } ], "returnComment": [] }, { "parentPluginId": "bfetch", "id": "def-common.ItemBuffer.length", "type": "number", "tags": [], "label": "length", "description": [ "\nGet current buffer size." ], "path": "src/plugins/bfetch/common/buffer/item_buffer.ts", "deprecated": false }, { "parentPluginId": "bfetch", "id": "def-common.ItemBuffer.write", "type": "Function", "tags": [], "label": "write", "description": [ "\nAdd item to the buffer." ], "signature": [ "(item: Item) => void" ], "path": "src/plugins/bfetch/common/buffer/item_buffer.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.ItemBuffer.write.$1", "type": "Uncategorized", "tags": [], "label": "item", "description": [], "signature": [ "Item" ], "path": "src/plugins/bfetch/common/buffer/item_buffer.ts", "deprecated": false, "isRequired": true } ], "returnComment": [] }, { "parentPluginId": "bfetch", "id": "def-common.ItemBuffer.clear", "type": "Function", "tags": [], "label": "clear", "description": [ "\nRemove all items from the buffer." ], "signature": [ "() => void" ], "path": "src/plugins/bfetch/common/buffer/item_buffer.ts", "deprecated": false, "children": [], "returnComment": [] }, { "parentPluginId": "bfetch", "id": "def-common.ItemBuffer.flush", "type": "Function", "tags": [], "label": "flush", "description": [ "\nCall `.onflush` method and clear buffer." ], "signature": [ "() => void" ], "path": "src/plugins/bfetch/common/buffer/item_buffer.ts", "deprecated": false, "children": [], "returnComment": [] } ], "initialIsOpen": false }, { "parentPluginId": "bfetch", "id": "def-common.TimedItemBuffer", "type": "Class", "tags": [], "label": "TimedItemBuffer", "description": [], "signature": [ { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.TimedItemBuffer", "text": "TimedItemBuffer" }, " extends ", { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.ItemBuffer", "text": "ItemBuffer" }, "" ], "path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.TimedItemBuffer.Unnamed", "type": "Function", "tags": [], "label": "Constructor", "description": [], "signature": [ "any" ], "path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.TimedItemBuffer.Unnamed.$1", "type": "Object", "tags": [], "label": "params", "description": [], "signature": [ { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.TimedItemBufferParams", "text": "TimedItemBufferParams" }, "" ], "path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts", "deprecated": false, "isRequired": true } ], "returnComment": [] }, { "parentPluginId": "bfetch", "id": "def-common.TimedItemBuffer.write", "type": "Function", "tags": [], "label": "write", "description": [], "signature": [ "(item: Item) => void" ], "path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.TimedItemBuffer.write.$1", "type": "Uncategorized", "tags": [], "label": "item", "description": [], "signature": [ "Item" ], "path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts", "deprecated": false, "isRequired": true } ], "returnComment": [] }, { "parentPluginId": "bfetch", "id": "def-common.TimedItemBuffer.clear", "type": "Function", "tags": [], "label": "clear", "description": [], "signature": [ "() => void" ], "path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts", "deprecated": false, "children": [], "returnComment": [] }, { "parentPluginId": "bfetch", "id": "def-common.TimedItemBuffer.flush", "type": "Function", "tags": [], "label": "flush", "description": [], "signature": [ "() => void" ], "path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts", "deprecated": false, "children": [], "returnComment": [] } ], "initialIsOpen": false } ], "functions": [ { "parentPluginId": "bfetch", "id": "def-common.appendQueryParam", "type": "Function", "tags": [], "label": "appendQueryParam", "description": [], "signature": [ "(url: string, key: string, value: string) => string" ], "path": "src/plugins/bfetch/common/util/query_params.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.appendQueryParam.$1", "type": "string", "tags": [], "label": "url", "description": [], "signature": [ "string" ], "path": "src/plugins/bfetch/common/util/query_params.ts", "deprecated": false, "isRequired": true }, { "parentPluginId": "bfetch", "id": "def-common.appendQueryParam.$2", "type": "string", "tags": [], "label": "key", "description": [], "signature": [ "string" ], "path": "src/plugins/bfetch/common/util/query_params.ts", "deprecated": false, "isRequired": true }, { "parentPluginId": "bfetch", "id": "def-common.appendQueryParam.$3", "type": "string", "tags": [], "label": "value", "description": [], "signature": [ "string" ], "path": "src/plugins/bfetch/common/util/query_params.ts", "deprecated": false, "isRequired": true } ], "returnComment": [], "initialIsOpen": false }, { "parentPluginId": "bfetch", "id": "def-common.createBatchedFunction", "type": "Function", "tags": [], "label": "createBatchedFunction", "description": [], "signature": [ "(params: ", { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.BatchedFunctionParams", "text": "BatchedFunctionParams" }, ") => [Func, ", { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.TimedItemBuffer", "text": "TimedItemBuffer" }, "]" ], "path": "src/plugins/bfetch/common/buffer/create_batched_function.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.createBatchedFunction.$1", "type": "Object", "tags": [], "label": "params", "description": [], "signature": [ { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.BatchedFunctionParams", "text": "BatchedFunctionParams" }, "" ], "path": "src/plugins/bfetch/common/buffer/create_batched_function.ts", "deprecated": false, "isRequired": true } ], "returnComment": [], "initialIsOpen": false }, { "parentPluginId": "bfetch", "id": "def-common.normalizeError", "type": "Function", "tags": [], "label": "normalizeError", "description": [], "signature": [ "(err: any) => E" ], "path": "src/plugins/bfetch/common/util/normalize_error.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.normalizeError.$1", "type": "Any", "tags": [], "label": "err", "description": [], "signature": [ "any" ], "path": "src/plugins/bfetch/common/util/normalize_error.ts", "deprecated": false, "isRequired": true } ], "returnComment": [], "initialIsOpen": false }, { "parentPluginId": "bfetch", "id": "def-common.removeLeadingSlash", "type": "Function", "tags": [], "label": "removeLeadingSlash", "description": [], "signature": [ "(text: string) => string" ], "path": "src/plugins/bfetch/common/util/remove_leading_slash.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.removeLeadingSlash.$1", "type": "string", "tags": [], "label": "text", "description": [], "signature": [ "string" ], "path": "src/plugins/bfetch/common/util/remove_leading_slash.ts", "deprecated": false, "isRequired": true } ], "returnComment": [], "initialIsOpen": false } ], "interfaces": [ { "parentPluginId": "bfetch", "id": "def-common.BatchedFunctionParams", "type": "Interface", "tags": [], "label": "BatchedFunctionParams", "description": [], "signature": [ { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.BatchedFunctionParams", "text": "BatchedFunctionParams" }, "" ], "path": "src/plugins/bfetch/common/buffer/create_batched_function.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.BatchedFunctionParams.onCall", "type": "Function", "tags": [], "label": "onCall", "description": [], "signature": [ "(...args: Parameters) => [ReturnType, BatchEntry]" ], "path": "src/plugins/bfetch/common/buffer/create_batched_function.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.BatchedFunctionParams.onCall.$1", "type": "Uncategorized", "tags": [], "label": "args", "description": [], "signature": [ "Parameters" ], "path": "src/plugins/bfetch/common/buffer/create_batched_function.ts", "deprecated": false, "isRequired": true } ], "returnComment": [] }, { "parentPluginId": "bfetch", "id": "def-common.BatchedFunctionParams.onBatch", "type": "Function", "tags": [], "label": "onBatch", "description": [], "signature": [ "(items: BatchEntry[]) => void" ], "path": "src/plugins/bfetch/common/buffer/create_batched_function.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.BatchedFunctionParams.onBatch.$1", "type": "Array", "tags": [], "label": "items", "description": [], "signature": [ "BatchEntry[]" ], "path": "src/plugins/bfetch/common/buffer/create_batched_function.ts", "deprecated": false, "isRequired": true } ], "returnComment": [] }, { "parentPluginId": "bfetch", "id": "def-common.BatchedFunctionParams.flushOnMaxItems", "type": "number", "tags": [], "label": "flushOnMaxItems", "description": [], "signature": [ "number | undefined" ], "path": "src/plugins/bfetch/common/buffer/create_batched_function.ts", "deprecated": false }, { "parentPluginId": "bfetch", "id": "def-common.BatchedFunctionParams.maxItemAge", "type": "number", "tags": [], "label": "maxItemAge", "description": [], "signature": [ "number | undefined" ], "path": "src/plugins/bfetch/common/buffer/create_batched_function.ts", "deprecated": false } ], "initialIsOpen": false }, { "parentPluginId": "bfetch", "id": "def-common.BatchItemWrapper", "type": "Interface", "tags": [], "label": "BatchItemWrapper", "description": [], "path": "src/plugins/bfetch/common/batch.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.BatchItemWrapper.compressed", "type": "boolean", "tags": [], "label": "compressed", "description": [], "path": "src/plugins/bfetch/common/batch.ts", "deprecated": false }, { "parentPluginId": "bfetch", "id": "def-common.BatchItemWrapper.payload", "type": "string", "tags": [], "label": "payload", "description": [], "path": "src/plugins/bfetch/common/batch.ts", "deprecated": false } ], "initialIsOpen": false }, { "parentPluginId": "bfetch", "id": "def-common.BatchRequestData", "type": "Interface", "tags": [], "label": "BatchRequestData", "description": [], "signature": [ { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.BatchRequestData", "text": "BatchRequestData" }, "" ], "path": "src/plugins/bfetch/common/batch.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.BatchRequestData.batch", "type": "Array", "tags": [], "label": "batch", "description": [], "signature": [ "Item[]" ], "path": "src/plugins/bfetch/common/batch.ts", "deprecated": false } ], "initialIsOpen": false }, { "parentPluginId": "bfetch", "id": "def-common.BatchResponseItem", "type": "Interface", "tags": [], "label": "BatchResponseItem", "description": [], "signature": [ { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.BatchResponseItem", "text": "BatchResponseItem" }, "" ], "path": "src/plugins/bfetch/common/batch.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.BatchResponseItem.id", "type": "number", "tags": [], "label": "id", "description": [], "path": "src/plugins/bfetch/common/batch.ts", "deprecated": false }, { "parentPluginId": "bfetch", "id": "def-common.BatchResponseItem.result", "type": "Uncategorized", "tags": [], "label": "result", "description": [], "signature": [ "Result | undefined" ], "path": "src/plugins/bfetch/common/batch.ts", "deprecated": false }, { "parentPluginId": "bfetch", "id": "def-common.BatchResponseItem.error", "type": "Uncategorized", "tags": [], "label": "error", "description": [], "signature": [ "Error | undefined" ], "path": "src/plugins/bfetch/common/batch.ts", "deprecated": false } ], "initialIsOpen": false }, { "parentPluginId": "bfetch", "id": "def-common.ErrorLike", "type": "Interface", "tags": [], "label": "ErrorLike", "description": [], "path": "src/plugins/bfetch/common/batch.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.ErrorLike.message", "type": "string", "tags": [], "label": "message", "description": [], "path": "src/plugins/bfetch/common/batch.ts", "deprecated": false } ], "initialIsOpen": false }, { "parentPluginId": "bfetch", "id": "def-common.ItemBufferParams", "type": "Interface", "tags": [], "label": "ItemBufferParams", "description": [], "signature": [ { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.ItemBufferParams", "text": "ItemBufferParams" }, "" ], "path": "src/plugins/bfetch/common/buffer/item_buffer.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.ItemBufferParams.flushOnMaxItems", "type": "number", "tags": [], "label": "flushOnMaxItems", "description": [ "\nFlushes buffer automatically if number of items in the buffer reaches\nthis number. Omit it or set to `Infinity` to never flush on max buffer\nsize automatically." ], "signature": [ "number | undefined" ], "path": "src/plugins/bfetch/common/buffer/item_buffer.ts", "deprecated": false }, { "parentPluginId": "bfetch", "id": "def-common.ItemBufferParams.onFlush", "type": "Function", "tags": [], "label": "onFlush", "description": [ "\nCallback that is called every time buffer is flushed. It receives a single\nargument which is a list of all buffered items. If `.flush()` is called\nwhen buffer is empty, `.onflush` is called with empty array." ], "signature": [ "(items: Item[]) => void" ], "path": "src/plugins/bfetch/common/buffer/item_buffer.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.ItemBufferParams.onFlush.$1", "type": "Array", "tags": [], "label": "items", "description": [], "signature": [ "Item[]" ], "path": "src/plugins/bfetch/common/buffer/item_buffer.ts", "deprecated": false, "isRequired": true } ], "returnComment": [] } ], "initialIsOpen": false }, { "parentPluginId": "bfetch", "id": "def-common.StreamingResponseHandler", "type": "Interface", "tags": [], "label": "StreamingResponseHandler", "description": [], "signature": [ { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.StreamingResponseHandler", "text": "StreamingResponseHandler" }, "" ], "path": "src/plugins/bfetch/common/streaming/types.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.StreamingResponseHandler.getResponseStream", "type": "Function", "tags": [], "label": "getResponseStream", "description": [], "signature": [ "(payload: Payload) => ", "Observable", "" ], "path": "src/plugins/bfetch/common/streaming/types.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.StreamingResponseHandler.getResponseStream.$1", "type": "Uncategorized", "tags": [], "label": "payload", "description": [], "signature": [ "Payload" ], "path": "src/plugins/bfetch/common/streaming/types.ts", "deprecated": false, "isRequired": true } ], "returnComment": [] } ], "initialIsOpen": false }, { "parentPluginId": "bfetch", "id": "def-common.TimedItemBufferParams", "type": "Interface", "tags": [], "label": "TimedItemBufferParams", "description": [], "signature": [ { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.TimedItemBufferParams", "text": "TimedItemBufferParams" }, " extends ", { "pluginId": "bfetch", "scope": "common", "docId": "kibBfetchPluginApi", "section": "def-common.ItemBufferParams", "text": "ItemBufferParams" }, "" ], "path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts", "deprecated": false, "children": [ { "parentPluginId": "bfetch", "id": "def-common.TimedItemBufferParams.maxItemAge", "type": "number", "tags": [], "label": "maxItemAge", "description": [ "\nFlushes buffer when oldest item reaches age specified by this parameter,\nin milliseconds." ], "signature": [ "number | undefined" ], "path": "src/plugins/bfetch/common/buffer/timed_item_buffer.ts", "deprecated": false } ], "initialIsOpen": false } ], "enums": [], "misc": [ { "parentPluginId": "bfetch", "id": "def-common.DISABLE_BFETCH_COMPRESSION", "type": "string", "tags": [], "label": "DISABLE_BFETCH_COMPRESSION", "description": [], "signature": [ "\"bfetch:disableCompression\"" ], "path": "src/plugins/bfetch/common/constants.ts", "deprecated": false, "initialIsOpen": false } ], "objects": [] } }