Skip to content

Commit

Permalink
Add DeepClientInstance.serial
Browse files Browse the repository at this point in the history
  • Loading branch information
FreePhoenix888 committed Aug 31, 2023
1 parent b715d7b commit a67ceb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions imports/client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,8 @@ export interface DeepClientInstance<L = Link<number>> {

delete<TTable extends 'links'|'numbers'|'strings'|'objects'>(exp: Exp<TTable>, options?: WriteOptions<TTable>):Promise<DeepClientResult<{ id }[]>>;

serial(options: AsyncSerialParams): Promise<DeepClientResult<{ id }[]>>;

reserve<LL = L>(count: number): Promise<number[]>;

await(id: number): Promise<boolean>;
Expand Down Expand Up @@ -683,9 +685,7 @@ export class DeepClient<L = Link<number>> implements DeepClientInstance<L> {
return { ...q, data: (q)?.data?.m0?.returning };
};

async serial<
LL = L
>({
async serial({
name, operations, returning, silent
}: AsyncSerialParams): Promise<DeepClientResult<{ id: number }[]>> {
// @ts-ignore
Expand Down

0 comments on commit a67ceb7

Please sign in to comment.