fetch
fetch(x)
Waits and fetches a value from x
depending on the type of x
. Does not remove the item fetched:
RemoteRef
: Wait for and get the value of a remote reference. If the remote value is an exception, throws aRemoteException
which captures the remote exception and backtrace.Channel
: Wait for and get the first available item from the channel.
Examples
See Also
accept, bind, :@spawn, connect, fetch, getaddrinfo, gethostname, getipaddr, getsockname, init_worker, IPv4, IPv6, isready, issocket, kill, listen, recv, recvfrom, remotecall, remotecall_fetch, remotecall_wait, RemoteRef, send, setopt,User Contributed Notes
Add a Note
The format of note supported is markdown, use triple backtick to start and end a code block.