Run asynchronous object controllers from accepted graph jobs

This commit is contained in:
Timothy J. Aveni
2026-09-20 21:31:56 -07:00
parent 1dadc642d1
commit d638a9ed28
4 changed files with 33 additions and 0 deletions
+11
View File
@@ -8,4 +8,15 @@ package ControllerRuntime id "async:controller-runtime" revision "async:controll
interface document id "async:controller:document" : DocumentData using [content.get, summary.set];
interface provider id "async:controller:provider" : Summarizer using [summarize.call];
};
operation finish id "async:controller:finish"
: record { operationId: string; summary: record { text: string; basedOn: string; }; } -> unit
mode call execution transaction targets [server] receiver atom Document requires {
state job id "async:finish:job" : optional<record { operationId: string; }> [read, write];
state summary id "async:finish:summary" : record { text: string; basedOn: string; } [write];
};
operation runPending id "async:controller:run-pending" : optional<record { operationId: string; }> -> unit
mode call execution remote receiver atom Document requires {
interface document id "async:pending:document" : DocumentData using [content.get, recordSummary.call];
interface provider id "async:pending:provider" : Summarizer using [summarize.call];
};
}