interface
TaskDefinition
Non-generic compiled task boundary stored in Config.Tasks.
Properties
| Property | Type | Description |
|---|---|---|
TaskSlug | func() string | Returns the stable task slug. |
How it works
Only values returned by NewTask can implement this sealed interface, so serialized input can never select or supply executable code.
Full signature
type TaskDefinition interface {
TaskSlug() string
// contains filtered or unexported methods
}