Skip to content

feat: add priority to hooks and a blackboard for plugins#569

Draft
AnthonyFuller wants to merge 4 commits into
masterfrom
tony/plugin-features-1
Draft

feat: add priority to hooks and a blackboard for plugins#569
AnthonyFuller wants to merge 4 commits into
masterfrom
tony/plugin-features-1

Conversation

@AnthonyFuller
Copy link
Copy Markdown
Contributor

  • Adds a priority option to taps and intercepts (intercepts may be removed)
  • Adds a blackboard object (controller.blackboard) for plugins to share data

@AnthonyFuller
Copy link
Copy Markdown
Contributor Author

AnthonyFuller commented Mar 10, 2025

Ah, intercepts were removed on master.

@AnthonyFuller AnthonyFuller marked this pull request as draft March 10, 2025 02:25
Comment thread components/controller.ts
public parentsWithETA = new Set<string>()

// A place for plugins to share data.
public blackboard: unknown = {}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Record<string, unknown> so users don't have to cast the parent, only the member being requested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants