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