JuliaActors / Actors.jl

Concurrent computing in Julia based on the Actor Model
MIT License
106 stars 11 forks source link

Tweaks to table tennis example #31

Open omus opened 3 years ago

omus commented 3 years ago

If you copy-paste the table tennis example from the documentation you get messy output due to interleaved printing of the type and print actor:

julia> send(ping, Serve(pong))
(Serve{Link{Channel{Any}}}(LinkPing serves
{Pong serves Ping
ChannelPing serves Pong
{Pong serves Ping
AnyPing serves Pong
}Pong looses ball from Ping
}(Channel{Any}(32), 1, :default)),)