@@ -54,10 +54,6 @@ pub fn new_subject() -> Subject(message) {
5454 Subject ( reference . new ( ) )
5555}
5656
57- /// Send a message to a process using the default settings.
58- /// You almost certainly do not want to use this.
59- /// Absolutely prefer to use the type-safe variant of
60- /// this function `manifold.send(subject, message)`
6157pub fn send (
6258 pid : process . Pid ,
6359 subject : Subject ( message) ,
@@ -67,8 +63,6 @@ pub fn send(
6763 Nil
6864}
6965
70- /// Send a message to a process with custom options.
71- /// This allows you to control packing and send mode.
7266pub fn send_with_options (
7367 pid : process . Pid ,
7468 subject : Subject ( message) ,
@@ -80,16 +74,6 @@ pub fn send_with_options(
8074 Nil
8175}
8276
83- /// Call Manifold.send with a list of pids as the first argument, as
84- /// is supported in Manifold
85- ///
86- /// Sending multi does not support sending to subjects, because
87- /// subjects themselves EACH have a unique tag along with them. The
88- /// subject expects the tag to be included in the message itself, so
89- /// this would mean that all subjects need to have the same tag, which is
90- /// impossible because they are unique. You would have to use something
91- /// like `process.select_other` to take advantage of receiving values
92- /// with this function still within Gleam.
9377pub fn send_multi (
9478 pids : List ( process . Pid ) ,
9579 subject : Subject ( message) ,
@@ -99,8 +83,6 @@ pub fn send_multi(
9983 Nil
10084}
10185
102- /// Send a message to multiple processes with custom options.
103- /// This allows you to control packing and send mode.
10486pub fn send_multi_with_options (
10587 pids : List ( process . Pid ) ,
10688 subject : Subject ( message) ,
0 commit comments