Clarify shared ownership of namespace views

This commit is contained in:
2026-10-17 13:52:50 +00:00
parent 6fff3d822c
commit 8627c751a4
4 changed files with 31 additions and 10 deletions

View File

@@ -5,8 +5,9 @@ import "gitea.maximumdirect.net/eric/promptkit/internal/usecase"
const preparedExecutionString = "promptkit.PreparedExecution{opaque}"
// PreparedExecution is an opaque, in-process handle for one completely
// prepared execution. A handle is bound to the [Engine] that created it and
// permits one [Engine.RunPrepared] invocation.
// prepared execution. A handle is bound to the underlying execution owner shared
// by its originating [Engine] and related namespace views. It permits one
// [Engine.RunPrepared] invocation in total.
//
// PreparedExecution contains no supported serializable state and cannot be
// used as a restartable job. Copying the value preserves the same shared