Let module issue mint and deliver a bus process's account (issue 1181)

This commit is contained in:
jochen
2026-10-19 02:55:29 +02:00
parent 93a82cb032
commit f6a48ac5ef
9 changed files with 397 additions and 8 deletions
+2 -2
View File
@@ -116,10 +116,10 @@ type QueueOwner struct {
MaxDeliver int
}
// queueConsumer is the durable consumer the one process a module's bus.queues names is granted on its own
// QueueConsumer is the durable consumer the one process a module's bus.queues names is granted on its own
// work-queue stream (novox/hq ADR 0436 §1, §2, §6): no filter, since it is the stream's only consumer —
// unlike heardConsumer, which is one of possibly several hearing a module's ordinary stream.
func queueConsumer(p Principal, q QueueOwner) Consumer {
func QueueConsumer(p Principal, q QueueOwner) Consumer {
return Consumer{
Name: p.Node + "_" + p.Module + "_" + q.Process,
Stream: q.Stream,