Repository navigation
TypeScript: join a keyed in-process registry's publish to the functions filed under the same key - #1828
Merged
swapnilpaliwal-sd merged 1 commit intoSep 30, 2026
Conversation
…ns filed under the same key
A class that stores a function parameter in a field under a key parameter
(slot.add(fn), map.set(k, fn), obj[k] = fn) and another method that reads
that field by key and calls what it gets is now joined caller to caller:
each publish site reaches the functions registered under an equal key
(tier event_dispatch), a run-time key reaches all of them, and a constant
the dispatch also looks up (a wildcard) matches every publish. Wrappers
that forward the key or the function, and a subscribe-all method taking a
table of { [KEY]: fn } entries, are followed.
The function-type envelope row that made every registered function a
candidate of the handler type (key-blind) is withdrawn for such a store's
parameter, its overload signatures and forwarding wrappers.
Co-authored-by: axiomcode-bot[bot] <334110751+axiomcode-bot[bot]@users.noreply.github.com>
swapnilpaliwal-sd
requested review from
JaredHLZhang,
Whua689 and
suyashpaliwal26
as code owners
September 30, 2026 14:31
swapnilpaliwal-sd
deleted the
apps/typescript/keyed-inprocess-callback-registry
branch
September 30, 2026 19:00
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
slot.add(fn),map.set(k, fn),obj[k] = fn) and a method that reads that field by key and calls what it gets are now joined at their callers: a publish reaches the functions registered under the same key (event_dispatch, new filecall-edge-generation/keyed_registry.dl).{ [K]: fn }table; a run-time key matches all; a constant the dispatch also looks up (wildcard) matches every publish.add/deleteis a collection store, not a callback hand-off.86-keyed-callback-registry+ plugin casekeyed-callback-registry(4 controls: other key, other table entry, read-without-call, terse form's other key; 2 of them fail if the envelope guard is removed).