ISessionTaskGrain Type
Grain that owns and runs a single async task. Key = "userId/sessionId/taskId" — the same string key as the sub-session `SessionGrain` it may drive (a different grain type).
Instance members
| Instance member |
Description
|
|
Request best-effort cancellation. Reentrant so it can interrupt a running task.
|
|
|
|
Execute the task body. Dispatched as a fire-and-forget self-call by `StartAsync` (and re-dispatched on activation to resume an interrupted task).
|
Full Usage:
this.StartAsync
Parameters:
TaskStartSpec
Returns: Task<TaskRef>
Modifiers: abstract |
Persist the task spec, mark it running, and dispatch the work in the background.
|
Nao