Skip to main content

Module Task

Module Task 

Source
Expand description

Task-domain handlers for CocoonService. RegisterTaskProvider::Fn, ExecuteTask::Fn, TerminateTask::Fn.

Modulesยง

ExecuteTask
Forward a task-execution request to Sky over the sky://task/execute channel.
RegisterTaskProvider
Register a Cocoon-contributed task provider in ApplicationState. The gRPC proto carries no handle, so we hash the task type string for the registration handle.
TerminateTask
Forward a task-termination request to Sky over sky://task/terminate.