channel/runner.go
2022-02-09 12:10:02 +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())
}