Merge main into feat/47-G-join11: the reader's if-config and config forms, StreamPublish, BusSubject (issue 1979)
stream-publish, the capability of StreamPublish (A-44), is named in go/buscalls beside the other bus-state words, as G names every capability word in mesh-sdk. Builds: design 47 G §622; design 42 zfs-owns-zfs A-41, A-42, A-44, S1, S2 Claude-Session: https://claude.ai/code/session_01NcbgfGKaxw984XyAPfLm4h
This commit is contained in:
@@ -72,6 +72,12 @@ func (a Account) EventSubject(event string) string { return "mesh.mod." + a.Modu
|
||||
// (mesh-controller internal/broker/modstreams.go ModuleStreamSubject).
|
||||
func (a Account) StreamSubject(event string) string { return ModuleStreamSubject(a.Module, event) }
|
||||
|
||||
// BusSubject is where the module's event lands on a stream it asked for by template: mesh.bus.<module>.<local>.<event>,
|
||||
// <local> being the stream's local name in the module's `requires` (the bus module's keeper, PlanOf; A-41).
|
||||
func (a Account) BusSubject(local, event string) string {
|
||||
return "mesh.bus." + a.Module + "." + local + "." + event
|
||||
}
|
||||
|
||||
// ModuleStreamSubject is where a module's event lands on that module's own stream, for a part that names another
|
||||
// module's stream (the indexer hears the forge bridge's, the checker's) without holding its credential.
|
||||
func ModuleStreamSubject(module, event string) string {
|
||||
|
||||
Reference in New Issue
Block a user