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 committed 2024-01-23 19:09:29 -08:00
1 parent 1caca81ba1
commit 0715e84f04
3 files changed
+136

No files matched your search

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