Versions in this module Expand all Collapse all v1 v1.0.1 Jun 17, 2026 v1.0.0 Jun 17, 2026 Changes in this version + type Future struct + func NewFuture[T any](result <-chan T) *Future[T] + func (f *Future[T]) Get() T + type FutureAction struct + func NewFutureAction[T any](action func() T) *FutureAction[T] + func (f *FutureAction[T]) Get() T + type FutureError = Future[error] + type Promise struct + func NewPromise[T any]() Promise[T] + func (p *Promise[T]) GetFuture() *Future[T] + func (p *Promise[T]) Set(value T) + type PromiseError = Promise[error]