Adds a new sink to this scan.
Adds a new sink to this scan.
the link to add
true
if the link was new in the list of sinks for this scan, false
it was already connected
Adds a new source to this scan.
Adds a new source to this scan.
the link to add
true
if the link was new in the list of sources for this scan, false
it was already connected
Removes a new sink from this scan.
Removes a new sink from this scan.
the link to remove
true
if the link was found in the list of sinks for this scan, false
otherwise
Removes a new source from this scan.
Removes a new source from this scan.
the link to remove
true
if the link was found in the list of source for this scan, false
otherwise
Returns an iterator over all currently connected sinks.
Returns an iterator over all currently connected sources.
A
Scan
represents a real-time signal which can either function as a reader linked to another scan which functions as its source or a grapheme, or it functions as a writer sinking into a grapheme or another scan. Scans are situated with a process (Proc
) and identified by a unique name, also known as key. A scan can write to any number of targets, and be synchronised to one or multiple source (if the number of sources is greater than one, they are mixed together).If not synchronised to a source, the owner process' graph may feed a signal into it, using
graph.scan.Out
.A scan's event forwards updates from any of its sources, but does not observe its sinks.