Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.1.1 - 2025-08-06

- Updated `actor.start` documentation to reflect current use case.

## v1.1.0 - 2025-08-05

- The `call` function in the `gleam/otp/actor` module gains the labels
Expand Down
8 changes: 1 addition & 7 deletions src/gleam/otp/actor.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -588,13 +588,7 @@ type StartInitMessage(data) {
Mon(process.Down)
}

/// Start an actor from a given specification. If the actor's `init` function
/// returns an error or does not return within `init_timeout` then an error is
/// returned.
///
/// If you do not need to specify the initialisation behaviour of your actor
/// consider using the `start` function.
///
/// Starts an actor from a given `Builder`. On failure, `start` returns a `StartError`
pub fn start(
builder: Builder(state, msg, return),
) -> Result(Started(return), StartError) {
Expand Down