package
0.0.0-20250102010652-32484aa8349e
Repository: https://github.com/saylorsolutions/x.git
Documentation: pkg.go.dev

# Functions

DiscardFuture will start a new goroutine to call Await on the [Future] indefinitely, so the underlying channel is not leaked.
DiscardFutureErr will start a new goroutine to call AwaitErr on the [FutureErr] indefinitely, so the underlying channel is not leaked.
FutureChannel will create a channel that receives the result of the given [Future].
FutureErrChannel will create a channel that receives the [ErrChannelResult] of the given [FutureErr].
No description provided by the author
No description provided by the author
No description provided by the author
Merge will create a goroutine to merge two or more channels into one unbuffered channel.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StaticFuture returns the given value in response to [Future.Await], and [Future.Resolve] has no effect.
StaticFutureErr returns the given value in response to [FutureErr.AwaitErr], and [FutureErr.ResolveErr] has no effect.
SymbolicFuture returns a [Future] that returns a zero value and nil error.
SymbolicFutureErr returns a [FutureErr] that does nothing.

# Structs

ErrChannelResult is the type returned in a channel produced from [FutureErrChannel].

# Interfaces

Future is a value that is resolved asynchronously at a later time.
FutureErr is the same as [Future], but it returns a value and an error.
No description provided by the author