Compare commits
No commits in common. "0a85fc232d652b51fa54426eeff2f7927369879b" and "4821f32e8b5c8452c23bb05818bf1b3aeb96a57a" have entirely different histories.
0a85fc232d
...
4821f32e8b
|
@ -64,11 +64,8 @@ def main(turn):
|
|||
def a(turn, two):
|
||||
print('A got assertion:', two)
|
||||
turn.send(b.embeddedValue, Three())
|
||||
def on_two_retracted(turn):
|
||||
print('Assertion', two, 'from B went')
|
||||
turn.retract(one_handle)
|
||||
return on_two_retracted
|
||||
one_handle = turn.publish(b.embeddedValue, One(Embedded(turn.ref(a))))
|
||||
return lambda turn: print('Assertion', two, 'from B went')
|
||||
turn.publish(b.embeddedValue, One(Embedded(turn.ref(a))))
|
||||
return lambda turn: print('B\'s Boot record went')
|
||||
else:
|
||||
# We are "B".
|
||||
|
|
|
@ -65,8 +65,6 @@ class During(Handler):
|
|||
def facet(turn):
|
||||
if self.inert_ok:
|
||||
turn.prevent_inert_check()
|
||||
maybe_stop_action = handler(turn, *args)
|
||||
if maybe_stop_action is not None:
|
||||
turn.on_stop(maybe_stop_action)
|
||||
handler(turn, *args)
|
||||
return lambda turn: turn.stop(facet)
|
||||
return facet_handler
|
||||
|
|
Loading…
Reference in New Issue