Run a bunch of things at the same time
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
.travis.yml
LICENSE.txt
README.md
runner.go
runner_test.go

README.md

Runner Build Status GoDoc Go Report Card

Runner runs anything with a Run() method. Perfect for API servers with background tasks, health check endpoints, or anything else that does long-lived, blocking work.

package main

import "github.com/kochman/runner"

func main() {
    r := runner.New()
    r.Add(myRunnable{})
    r.Add(anotherRunnable{})
    r.Run()
}