Documentation
¶
Index ¶
- func Active(ctx context.Context) bool
- func CloneProvenance(src, dst context.Context) context.Context
- func CloseProvenance(ctx context.Context)
- func HasArtifactReference(value any) bool
- func OriginalArguments(ctx context.Context) map[string]interface{}
- func ResolveDispatchPayload(ctx context.Context, name string, args map[string]interface{}) (map[string]interface{}, func(string) string, error)
- func Session(ctx context.Context, name string) (any, bool)
- func SetOriginalArguments(ctx context.Context, args map[string]interface{})
- func StoreSession(ctx context.Context, name string, session any, close func()) bool
- func WithDispatchPayloadResolver(ctx context.Context, resolver DispatchPayloadResolver) context.Context
- func WithState(ctx context.Context) (context.Context, func())
- type DispatchPayloadResolver
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneProvenance ¶
CloneProvenance transfers only process-owned original references and a lease on the same isolated RPC session to an existing owned async lifecycle.
func CloseProvenance ¶
func HasArtifactReference ¶
HasArtifactReference scans existing JSON arguments without cloning/serialization.
func OriginalArguments ¶
func ResolveDispatchPayload ¶
func SetOriginalArguments ¶
func StoreSession ¶
func WithDispatchPayloadResolver ¶
func WithDispatchPayloadResolver(ctx context.Context, resolver DispatchPayloadResolver) context.Context
Types ¶
type DispatchPayloadResolver ¶
type DispatchPayloadResolver func(context.Context, string, map[string]interface{}) (map[string]interface{}, func(string) string, error)
DispatchPayloadResolver runs only at an authorized server dispatch boundary. sanitize must remove payload echoes before results enter logs or history.
Click to show internal directories.
Click to hide internal directories.