diff options
Diffstat (limited to 'lib/pure/actors.nim')
-rw-r--r-- | lib/pure/actors.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/actors.nim b/lib/pure/actors.nim index c6f277745..2d902debe 100644 --- a/lib/pure/actors.nim +++ b/lib/pure/actors.nim @@ -51,7 +51,7 @@ proc inbox*[TIn, TOut](self: PActor[TIn, TOut]): ptr TChannel[TIn] = ## gets a pointer to the associated inbox of the actor `self`. result = addr(self.i) -proc running*[TIn, TOut](a: PActor[TIn, TOut]) = +proc running*[TIn, TOut](a: PActor[TIn, TOut]): bool = ## returns true if the actor `a` is running. result = running(a.t) |