Skip to content
This repository was archived by the owner on Feb 4, 2026. It is now read-only.

v0.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Jul 15:11
· 1 commit to main since this release

Azor implements JavaScript-style promises and async/await in Go. Make sure you don't use them.

calc := func() int { return 42 }

fn := azor.Async(func() (int, error) {
    return calc(), nil
})

ctx := context.Background()
n, err := azor.Await(ctx, fn())
fmt.Println(n, err)

// Output:
// 42 <nil>

readme