fn: add new ConcurrentQueue[T] data structure

This is a version of the queue we have elsewhere, but we can get rid of
all the casting and interface usage in favor of a type param.
This commit is contained in:
Olaoluwa Osuntokun
2024-01-02 17:12:19 -08:00
parent 1caca81ba1
commit 0715e84f04
3 changed files with 136 additions and 0 deletions

View File

@@ -1,3 +1,5 @@
module github.com/lightningnetwork/lnd/fn
go 1.19
require github.com/lightninglabs/neutrino/cache v1.1.2