MCPcopy Create free account
hub / github.com/The-Pocket/PocketFlow-Go / Run

Method Run

pocketflow.go:816–819  ·  view source on GitHub ↗

Run starts the BatchFlow execution.

(ctx *PfContext)

Source from the content-addressed store, hash-verified

814
815// Run starts the BatchFlow execution.
816func (bf *BatchFlow) Run(ctx *PfContext) (string, error) {
817 // Use InternalRun to perform the standard lifecycle (PrepBatch, Exec Batches, PostBatch)
818 return bf.InternalRun(ctx)
819}
820
821// InternalRun executes the BatchFlow lifecycle: PrepBatch, Exec(orchestrate per batch), PostBatch.
822func (bf *BatchFlow) InternalRun(ctx *PfContext) (string, error) {

Callers 1

TestBatchFlowExecutionFunction · 0.95

Calls 1

InternalRunMethod · 0.95

Tested by 1

TestBatchFlowExecutionFunction · 0.76