method

App.RunTasks

Claim and execute one bounded durable-task batch.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
limitintThe limit value.

Returns

The declared result.

(TaskRunSummary, error)

How it works

Concurrent callers are safe. Store leases are authoritative and handlers remain at-least-once.

Full signature

func (application *App) RunTasks( ctx context.Context, limit int, ) (TaskRunSummary, error)

Source core/task.go:404

Related types

  • App

    A resolved application bound to operation services.

  • TaskRunSummary

    Counters for one bounded worker claim cycle.