method

App.RunTasks

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

Claim and execute one bounded durable-task batch.

Source core/task.go:404

@param ctx
The ctx value.
@param limit
The limit value.
@returns
The declared result.

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

Related types

  • App

    A resolved application bound to operation services.

  • TaskRunSummary

    Counters for one bounded worker claim cycle.