From a67ceb78830cb1b25f0146e03b1e24f7d1b17f4e Mon Sep 17 00:00:00 2001 From: FreePhoenix888 Date: Thu, 31 Aug 2023 11:03:08 +0600 Subject: [PATCH] Add DeepClientInstance.serial --- imports/client.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imports/client.tsx b/imports/client.tsx index 76a46dc8..95fe48e7 100644 --- a/imports/client.tsx +++ b/imports/client.tsx @@ -345,6 +345,8 @@ export interface DeepClientInstance> { delete(exp: Exp, options?: WriteOptions):Promise>; + serial(options: AsyncSerialParams): Promise>; + reserve(count: number): Promise; await(id: number): Promise; @@ -683,9 +685,7 @@ export class DeepClient> implements DeepClientInstance { return { ...q, data: (q)?.data?.m0?.returning }; }; - async serial< - LL = L - >({ + async serial({ name, operations, returning, silent }: AsyncSerialParams): Promise> { // @ts-ignore