We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45cddb4 commit 4643be3Copy full SHA for 4643be3
CHANGELOG.md
@@ -2,8 +2,6 @@
2
3
## v1.0.0 - 2025-06-12
4
5
-- The `send_abnormal_exit` function in the `gleam/erlang` module now takes the
6
- reason as a string.
7
- The `gleam/erlang/node` module gains the `name` function.
8
- `process.receive` will now panic if given a non-named subject that is not
9
owned by the current process.
src/gleam/erlang/process.gleam
@@ -808,7 +808,7 @@ pub fn send_exit(to pid: Pid) -> Nil {
808
///
809
/// [1]: http://erlang.org/doc/man/erlang.html#exit-2
810
811
-pub fn send_abnormal_exit(pid: Pid, reason: String) -> Nil {
+pub fn send_abnormal_exit(pid: Pid, reason: anything) -> Nil {
812
erlang_send_exit(pid, reason)
813
Nil
814
}
0 commit comments