Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FutureImpl ¶
type FutureImpl[T any] struct { // contains filtered or unexported fields }
func NewFuture ¶
func NewFuture[T any]() *FutureImpl[T]
func (*FutureImpl[T]) Ready ¶
func (f *FutureImpl[T]) Ready() bool
func (*FutureImpl[T]) Set ¶
func (f *FutureImpl[T]) Set( value T, err error, )
type ReadyFutureImpl ¶
type ReadyFutureImpl[T any] struct { // contains filtered or unexported fields }
func NewReadyFuture ¶
func NewReadyFuture[T any]( value T, err error, ) *ReadyFutureImpl[T]
func (*ReadyFutureImpl[T]) Ready ¶
func (f *ReadyFutureImpl[T]) Ready() bool
Click to show internal directories.
Click to hide internal directories.