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