F
fedzor
So I was messing with actors today, and I found that I couldn't get
an actor to run concurrently with the main thread. Am I just wishing
fibers are something they're not?
I had:
Actor.spawn
sleep 1
puts 5
end
puts 6
and it went:
5
6
So what do I have to do to get Actors to go concurrent on my ass? I
was hoping for:
6
5
Thanks,
Ari
--------------------------------------------|
If you're not living on the edge,
then you're just wasting space.
an actor to run concurrently with the main thread. Am I just wishing
fibers are something they're not?
I had:
Actor.spawn
sleep 1
puts 5
end
puts 6
and it went:
5
6
So what do I have to do to get Actors to go concurrent on my ass? I
was hoping for:
6
5
Thanks,
Ari
--------------------------------------------|
If you're not living on the edge,
then you're just wasting space.