Rearrange
This commit is contained in:
parent
78662a0d77
commit
ec7a816aeb
10
actor.ts
10
actor.ts
|
@ -130,13 +130,13 @@ export class Turn {
|
|||
|
||||
assert(ref: Ref, assertion: Assertion): Handle {
|
||||
const h = nextHandle++;
|
||||
this.enqueue(ref.relay, t => {
|
||||
const a = runRewrites(ref.attenuation, assertion);
|
||||
if (a !== null) {
|
||||
const a = runRewrites(ref.attenuation, assertion);
|
||||
if (a !== null) {
|
||||
this.enqueue(ref.relay, t => {
|
||||
this.actor.outbound.set(h, ref);
|
||||
ref.target.assert?.(t, a, h);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
return h;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue