package
0.0.0-20230903062148-258f086348c8
Repository: https://github.com/xen0tic/utils.git
Documentation: pkg.go.dev

# Functions

GetTask gets a cached Task from pool.
NewLockFreeQueue instantiates and returns a lockFreeQueue.
PutTask puts the trashy Task back in pool.

# Structs

Task is a wrapper that contains function and its argument.

# Interfaces

AsyncTaskQueue is a queue storing asynchronous tasks.

# Type aliases

TaskFunc is the callback function executed by poller.