channel/runner.go
2025-01-15 12:31:59 +01:00

9 lines
215 B
Go

package channel
// Runner is any runnable environment
type Runner interface {
// Run runs f in the Runners environment
// It might be blocking or non-blocking depending on Runners implementation
Run(f func())
}