Document extension concurrency and ownership
This commit is contained in:
@@ -69,6 +69,8 @@ type ExecutionOptions struct {
|
||||
|
||||
// EvidenceWriter receives optional operation-scoped debug evidence. Modules get
|
||||
// no filesystem root and cannot use capture as an execution or reporting service.
|
||||
// An explicitly supplied writer shared by concurrent operations must support
|
||||
// concurrent calls; per-operation capture wrappers do not serialize that writer.
|
||||
type EvidenceWriter interface {
|
||||
WriteJSON(string, any) error
|
||||
WriteBytes(string, []byte) error
|
||||
|
||||
Reference in New Issue
Block a user