# Functions
No description provided by the author
CanSelect is a helper for struct{} channels that checks if the channel can be pulled from in a select statement.
CommonGRPC returns a set of commonly used GRPC dial options for Anki's cloud services, if any are defined for the current platform.
NewChanWriter returns a wrapper around a []byte channel that turns it into an io.Writer.
NewDoOnce returns a new DoOnce object that will store the given function and execute it in calls to DoOnce.Do().
No description provided by the author
SleepSelect is like calling time.Sleep() with an early exit if the given channel ch is closed.
TimeFuncMs returns the time, in milliseconds, required to run the given function.
# Structs
DoOnce wraps a sync.Once object, taking a function at initialization time rather than at execution time; that way, if the function to be executed is known in advance for all cases, it can be stored in the object rather than repeated in arguments to Once.Do().
No description provided by the author
# Interfaces
ErrorListener defines an interface that can be used as a common definition to inject error handlers into dependent modules.
# Type aliases
No description provided by the author