Documentation
¶
Index ¶
Constants ¶
View Source
const (
SeriesIDKey contextKey = "cldf/seriesID"
)
Variables ¶
This section is empty.
Functions ¶
func ExecuteOperation ¶
func ExecuteOperation[IN, OUT, DEP any]( b cldfops.Bundle, operation *cldfops.Operation[IN, OUT, DEP], deps DEP, input IN, seriesID string, opts ...cldfops.ExecuteOption[IN, DEP], ) (cldfops.Report[IN, OUT], error)
ExecuteOperation is a helper function to execute an operation whose report is unique by seriesID. It sets the seriesID in the context for the duration of the operation execution, so that it can be sourced and used by underlying operations. It uses ExecuteOperationN with n=1 to execute a single operation and retrieve its report.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.