Skip to content

Commit 07f2e7a

Browse files
committed
remove stale comments
1 parent 8ad6839 commit 07f2e7a

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/gleam_manifold.gleam

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -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)`
6157
pub 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.
7266
pub 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.
9377
pub 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.
10486
pub fn send_multi_with_options(
10587
pids: List(process.Pid),
10688
subject: Subject(message),

0 commit comments

Comments
 (0)