From fb4eb22d6e057c6965672e0c56f04b9f3d8ac566 Mon Sep 17 00:00:00 2001 From: Abner Andino Date: Thu, 14 Nov 2024 19:10:18 +0000 Subject: [PATCH 1/2] fix documentation typo --- src/gleam/otp/actor.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gleam/otp/actor.gleam b/src/gleam/otp/actor.gleam index 65f5c3e..d18fabe 100644 --- a/src/gleam/otp/actor.gleam +++ b/src/gleam/otp/actor.gleam @@ -1,7 +1,7 @@ //// This module provides the _Actor_ abstraction, one of the most common //// building blocks of Gleam OTP programs. //// -//// An Actor is a process like any other BEAM process and can be be used to hold +//// An Actor is a process like any other BEAM process and can be used to hold //// state, execute code, and communicate with other processes by sending and //// receiving messages. The advantage of using the actor abstraction over a bare //// process is that it provides a single interface for commonly needed From ebe0bfc8c36b11b2a1b7996f239a615e6c780ab9 Mon Sep 17 00:00:00 2001 From: Abner Andino Date: Thu, 14 Nov 2024 19:10:30 +0000 Subject: [PATCH 2/2] add missing child_spec --- src/gleam/otp/static_supervisor.gleam | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gleam/otp/static_supervisor.gleam b/src/gleam/otp/static_supervisor.gleam index bb9b138..27d4fe1 100644 --- a/src/gleam/otp/static_supervisor.gleam +++ b/src/gleam/otp/static_supervisor.gleam @@ -286,6 +286,7 @@ fn convert_child(child: ChildBuilder) -> Dict(Atom, Dynamic) { |> property("id", child.id) |> property("start", mfa) |> property("restart", child.restart) + |> property("significant", child.significant) |> property("type", type_) |> property("shutdown", shutdown) }