Open hdavid16 opened 3 years ago
I can return also the name of the @resumable function
, the instance of the process is not known.
Does this help?
Yes. That would be helpful when debugging. Thanks
I see this error if I pass a ResumableFunctions iterator as the first value of Base.intersect:
using ResumableFunctions
@resumable function onetwothree()
@yield 1
@yield 2
@yield 3
end
intersect(onetwothree(), [2])
ERROR: @resumable function has stopped!
Stacktrace:
[1] error(s::String)
@ Base .\error.jl:35
If there's isn't already an issue for this, I'll open one.
for future reference, this is now reported in #107
What causes this error? I am trying to interrupt a process in SimJulia using
SimJulia.interrupt
Also, is there a way to know which resumable function stopped? I have nested processes.