method

Store.CompleteTask

Public method Store.CompleteTask from github.com/riducms/ridu/adapters/mongodb.

Arguments

ArgumentTypeDescription
ctxcontext.ContextThe ctx value.
idstringThe id value.
leaseTokenstringThe leaseToken value.
outputjson.RawMessageThe output value.

Returns

The declared result.

error

Full signature

func (backend *Store) CompleteTask( ctx context.Context, id, leaseToken string, output json.RawMessage, ) error

Source adapters/mongodb/tasks.go:928

Related types

  • Store

    A replica-set implementation of Ridu’s document, snapshot, auth, preference, task, lock, upload, readiness, and migration contracts.