Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stebalien/go-ctxwait


https://github.com/stebalien/go-ctxwait

Last synced: 15 days ago
JSON representation

Awesome Lists containing this project

README

        

# go-ctxwait

Wait on a context without wasting a goroutine per context.

## Usage

```go
ctxwait.OnDone(ctx, func() {
// do something.
})
```