// Go provides a single function for when the caller is only interested in
// wrapping a single function.
//
// Typically this is used for executing a conditional goroutine, wherein a
// function performs a number of prechecks or order-sensitive operations before
// running its remainder in the background.
Go provides a single function for when the caller is only interested in
wrapping a single function.

Typically this is used for executing a conditional goroutine, wherein a
function performs a number of prechecks or order-sensitive operations before
running its remainder in the background.
// Go provides a single function for when the caller is only interested in // wrapping a single function . // // Typically this is used for executing a conditional goroutine wherein a // function performs a number of prechecks or order - sensitive operations before // running its remainder in the background .
func Go(f func() error) error {
	ec := New()
	defer ec.Close()
	ec.Wrap(f)
	return <-ec.Next()
}
func Go ( f func ( ) error ) error { ec := New ( ) defer ec . Close ( ) ec . Wrap ( f ) return <- ec . Next ( ) }
Go provides a single function for when the caller is only interested in
wrapping a single function.
Go provides a single function for when the caller is only interested in wrapping a single function .