package
0.0.0-20240305190644-356b35c8c9b7
Repository: https://github.com/kdraigo/utils.git
Documentation: pkg.go.dev

# Functions

AsyncTask runs a task in a separate goroutine with handlers.
AsyncTaskWithTimeOut runs a task in a separate goroutine with handlers and a timeout.
NewError creates a new Error.
NewMap creating Map instance.
NewMultiEventHandler creates Emitter instance with multi event handler.
NewSingleEventHandler creates Emitter instance with single event handler.
NewTaskGroup crating Tasks instance.
WrapMap setting existing map under guard.

# Structs

Error is an atomic type-safe wrapper for error values.
Map implementing thread safe map[K]V.
TaskGroup for tracking and managing subtasks.
Value for atomic handling of data.

# Interfaces

Future is an interface representing a combination of a future/promise and a task controller.
Promise is an interface representing a sender and notifier about events.
Task presenting subtask.