Add terminate(Turn, Exception)
This commit is contained in:
parent
8b79dce5ba
commit
2aee79662e
|
@ -622,6 +622,9 @@ proc terminateFacet*(facet; e: ref Exception) =
|
|||
run(facet.actor.root) do (turn: var Turn):
|
||||
terminateActor(turn, e)
|
||||
|
||||
proc terminate*(turn: var Turn; e: ref Exception) =
|
||||
terminateActor(turn, e)
|
||||
|
||||
proc stop*(turn: var Turn, facet: Facet) =
|
||||
queueEffect(turn, facet) do (turn: var Turn):
|
||||
when tracing:
|
||||
|
|
Loading…
Reference in New Issue