Skip to content

Is there a limit to the Goroutine that calls gen.ServerProcess.CallWithTimeout (...)? #132

Answered by halturin
leonlee2013 asked this question in Q&A
Discussion options

You must be logged in to vote

Call*/Cast methods can be used inside gen.ServerProcess only (within Handle* callbacks only, to be specific). If you need to make a sync call to the process being outside of the actor, you should use gen.Process.Direct or gen.Process.DirectWithTimeout or gen.Process.Send for async messaging

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by leonlee2013
Comment options

You must be logged in to vote
9 replies
@leonlee2013
Comment options

@leonlee2013
Comment options

@halturin
Comment options

@leonlee2013
Comment options

@halturin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants