Skip to content

Commit

Permalink
Remove deprecated code
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso committed Dec 4, 2022
1 parent 759d7b9 commit c0b164f
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 1,713 deletions.
43 changes: 0 additions & 43 deletions docs/channel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,6 @@ Channels may be created explicitly using the following channel factory methods.
methods can be specified either as ``channel.of()`` or ``Channel.of()``, and so on.


.. _channel-create:

create
------

.. warning::
The ``create`` method is no longer available in DSL2 syntax.

Creates a new channel, as shown below::

channelObj = Channel.create()


.. _channel-empty:

empty
Expand Down Expand Up @@ -476,36 +463,6 @@ See also: `fromPath`_ factory method.
Channel methods
===============

.. _channel-bind1:

bind
----

.. warning::
The ``bind`` method is no longer available in DSL2 syntax.

Channel objects provide a `bind( )` method which is the basic operation to send a message over the channel.
For example::

myChannel = Channel.create()
myChannel.bind( 'Hello world' )


.. _channel-bind2:

operator <<
-----------

.. warning::
The ``<<`` operator is no longer available in DSL2 syntax.

The operator ``<<`` is just a syntax sugar for the ``bind`` method. Thus, the following example produces
an identical result as the previous one::

myChannel = Channel.create()
myChannel << 'Hello world'


.. _channel-subscribe:

subscribe
Expand Down
Loading

0 comments on commit c0b164f

Please sign in to comment.