Export terminate for facets
This commit is contained in:
parent
947e560fb7
commit
17c7328be8
|
@ -418,7 +418,7 @@ proc terminate(actor; turn; reason: ref Exception) =
|
||||||
callSoon:
|
callSoon:
|
||||||
run(actor.root, finish, true)
|
run(actor.root, finish, true)
|
||||||
|
|
||||||
proc terminate(facet; e: ref Exception) =
|
proc terminate*(facet; e: ref Exception) =
|
||||||
run(facet.actor.root) do (turn: var Turn):
|
run(facet.actor.root) do (turn: var Turn):
|
||||||
facet.actor.terminate(turn, e)
|
facet.actor.terminate(turn, e)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue