# `SnakeBridge.Telemetry.ScriptShutdownForwarder`
[🔗](https://github.com/nshkrdotcom/snakebridge/blob/v0.16.0/lib/snakebridge/telemetry/script_shutdown_forwarder.ex#L1)

Forwards Snakepit script shutdown telemetry events under the SnakeBridge namespace.

This module re-emits:
- `[:snakepit, :script, :shutdown, :start|:stop|:cleanup|:exit]`
as
- `[:snakebridge, :script, :shutdown, :start|:stop|:cleanup|:exit]`
with `snakebridge_version` metadata.

# `attach`

```elixir
@spec attach() :: :ok | {:error, :already_exists}
```

Attaches the shutdown forwarder to Snakepit script shutdown events.

Returns `:ok` on success or `{:error, :already_exists}` if already attached.

# `detach`

```elixir
@spec detach() :: :ok | {:error, :not_found}
```

Detaches the shutdown forwarder.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
