From 037a613d8d7c05ed40d3b711c8aa2d8512faa0e3 Mon Sep 17 00:00:00 2001 From: Daniel Gil Date: Thu, 27 Jun 2024 16:28:05 -0400 Subject: [PATCH] pass options to start --- packages/shell-api/src/stream-processor.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/shell-api/src/stream-processor.ts b/packages/shell-api/src/stream-processor.ts index 26590d542..54b0912e8 100644 --- a/packages/shell-api/src/stream-processor.ts +++ b/packages/shell-api/src/stream-processor.ts @@ -25,9 +25,10 @@ export default class StreamProcessor extends ShellApiWithMongoClass { } @returnsPromise - async start() { + async start(options: Document = {}) { return await this._streams._runStreamCommand({ startStreamProcessor: this.name, + ...options, }); }