Handbook
Glossary
publish ( channel -- id )
Vocabulary
channels
.
remote
Inputs
channel
a channel object
Outputs
id
a
string
Word description
Make a channel accessible via remote Factor nodes. An id is returned that can be used by another node to use
to
and
from
to access the channel.
Examples
<channel> publish
See also
<remote-channel>
,
unpublish
Definition
USING:
assocs
channels.remote.private
kernel
random
;
IN:
channels.remote
:
publish
( channel -- id )
128
random-bits
dup
[
remote-channels
set-at
]
dip
;