Skip to content

docs: fix LIFECYCLE.md subscribe() references to match public on()/off() surface - #313

Merged
Shinrai merged 1 commit into
nextfrom
docs/fix-lifecycle-subscribe-api
Aug 26, 2026
Merged

Shinrai merged 1 commit into
nextfrom
docs/fix-lifecycle-subscribe-api

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

No bug fixes

📦 Dependencies

No dependency updates

🔧 Other Changes

  • docs: fix LIFECYCLE.md subscribe() references to match public on()/off() surface (877490e)
👥 Contributors

…f() surface

The public api.slothlet.lifecycle surface only forwards {on, off}
(src/lib/builders/api_builder.mjs); subscribe()/unsubscribe() exist only on
the internal LifecycleHandler and were never exposed. Fixes the primary
example, a leftover prose reference, and the API Reference table - which also
had on()'s Returns column wrong (void instead of Function, the unsubscribe
closure it actually returns).

Fixes #312
@cldmv-bot cldmv-bot Bot added ! docs → next v4 flow: docs contributor PR targeting the next integration branch type: documentation Relates to docs, README updates, guides, or inline code comments labels Aug 26, 2026
@Shinrai

Shinrai commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Resolves #312 — closed when this ships to the default branch.

@Shinrai
Shinrai merged commit c02076c into next Aug 26, 2026
21 checks passed
@cldmv-bot
cldmv-bot Bot deleted the docs/fix-lifecycle-subscribe-api branch August 26, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

! docs → next v4 flow: docs contributor PR targeting the next integration branch type: documentation Relates to docs, README updates, guides, or inline code comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant