MCPcopy
hub / github.com/PeerDB-io/peerdb / Finished

Method Finished

flow/e2e/test_utils.go:715–721  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

713}
714
715func (env WorkflowRun) Finished(ctx context.Context) bool {
716 desc, err := env.c.DescribeWorkflowExecution(ctx, env.GetID(), "")
717 if err != nil {
718 return false
719 }
720 return desc.GetWorkflowExecutionInfo().GetStatus() != enums.WORKFLOW_EXECUTION_STATUS_RUNNING
721}
722
723func (env WorkflowRun) Error(ctx context.Context) error {
724 if env.Finished(ctx) {

Callers 1

ErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected