Documentation ¶
Overview ¶
Package async is async/await pattern instrument based on golang typed parameters (generics). See https://medium.com/@jon_43067/go-generics-and-concurrency-d0dccab73a73
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CancelingWaiter ¶
type CancelingWaiter struct {
// contains filtered or unexported fields
}
func NewCancelingWaiter ¶
func NewCancelingWaiter(ctx context.Context) (context.Context, *CancelingWaiter)
func (*CancelingWaiter) Await ¶
func (w *CancelingWaiter) Await(waiters ...Waiter) error
type Func ¶
func WithCancel ¶
Click to show internal directories.
Click to hide internal directories.