channel/runner.go

9 lines
215 B
Go
Raw Normal View History

2022-02-09 12:10:02 +01:00
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())
}