Represents one end of a RACChannel.
An terminal is similar to a socket or pipe – it represents one end of a connection (the RACChannel, in this case). Values sent to this terminal will not be received by its subscribers. Instead, the values will be sent to the subscribers of the RACChannel’s other terminal.
For example, when using the
followingTerminal, sent values can only be received from the
leadingTerminal, and vice versa.
To make it easy to terminate a RACChannel,
completed events sent to either terminal will be received by the subscribers of both terminals.
Do not instantiate this class directly. Create a RACChannel instead.