# `Wardrik.Sleeper`

Puts defined agents to sleep after their idle timeout. An agent wakes when something asks it.

# `child_spec`

Returns a specification to start this module under a supervisor.

See `Supervisor`.

# `start_link`

```elixir
@spec start_link(Wardrik.t()) :: GenServer.on_start()
```

Starts the sleeper.

# `watch`

```elixir
@spec watch(Wardrik.t(), String.t()) :: :ok
```

Starts the idle timer for the newly defined agent `id`.

---

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