Documentation
¶
Overview ¶
Package async provides a simple way to run functions asynchronously.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Future ¶
type Future[T any] struct { // contains filtered or unexported fields }
Future is a type that represents a future value.
func (*Future[T]) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface.
func (*Future[T]) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.