Skip to content

Commit

Permalink
Update client runWatchLoop to avoid async promise executor
Browse files Browse the repository at this point in the history
  • Loading branch information
krapie committed Dec 7, 2023
1 parent 6f9df3a commit 4cc4c10
Show file tree
Hide file tree
Showing 10 changed files with 3,971 additions and 476 deletions.
3 changes: 1 addition & 2 deletions src/api/converter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/

import Long from 'long';
import * as jspb from 'google-protobuf';
import { Code, YorkieError } from '@yorkie-js-sdk/src/util/error';
import { Indexable } from '@yorkie-js-sdk/src/document/document';
import {
Expand Down Expand Up @@ -1167,7 +1166,7 @@ function fromOperations(pbOperations: Array<PbOperation>): Array<Operation> {
fromTreePos(pbTreeEditOperation!.from!),
fromTreePos(pbTreeEditOperation!.to!),
fromTreeNodesWhenEdit(pbTreeEditOperation!.contents),
pbTreeEditOperation!.getSplitLevel(),
pbTreeEditOperation!.splitLevel,
createdAtMapByActor,
fromTimeTicket(pbTreeEditOperation!.executedAt)!,
);
Expand Down
Loading

0 comments on commit 4cc4c10

Please sign in to comment.