Tighten
This commit is contained in:
parent
b96dd7db8c
commit
4c5f896ecf
5
actor.ts
5
actor.ts
|
@ -140,9 +140,8 @@ export class Turn {
|
|||
}
|
||||
|
||||
sync(location: Ref<any>): Promise<Turn> {
|
||||
return new Promise(resolve => {
|
||||
this.enqueue(location.actor, t => location.sync(t, this.ref(resolve, "sync")));
|
||||
});
|
||||
return new Promise(resolve =>
|
||||
this.enqueue(location.actor, t => location.sync(t, this.ref(resolve, "sync"))));
|
||||
}
|
||||
|
||||
message(location: Ref<Entity>, assertion: Assertion): void {
|
||||
|
|
Loading…
Reference in New Issue