This commit is contained in:
Tony Garnock-Jones 2021-02-22 21:04:19 +01:00
parent b96dd7db8c
commit 4c5f896ecf
1 changed files with 2 additions and 3 deletions

View File

@ -140,9 +140,8 @@ export class Turn {
} }
sync(location: Ref<any>): Promise<Turn> { sync(location: Ref<any>): Promise<Turn> {
return new Promise(resolve => { return new Promise(resolve =>
this.enqueue(location.actor, t => location.sync(t, this.ref(resolve, "sync"))); this.enqueue(location.actor, t => location.sync(t, this.ref(resolve, "sync"))));
});
} }
message(location: Ref<Entity>, assertion: Assertion): void { message(location: Ref<Entity>, assertion: Assertion): void {