interface
TaskDefinition
type TaskDefinition interface {
TaskSlug() string
taskRuntime() taskRuntime
}Non-generic compiled task boundary stored in Config.Tasks.
TaskSlugfunc() string- Returns the stable task slug.
Only values returned by NewTask can implement this sealed interface, so serialized input can never select or supply executable code.