Registry / utility / lightningnetwork-lnd-ticker

lightningnetwork-lnd-ticker

JSON →
library1.1.1gogounverified

Provides a ticker utility for the LND Lightning Network Daemon, used for periodic task scheduling.

go get github.com/lightningnetwork/lnd/ticker
INSTALL
IMPORT
SIG · LIGHTNINGNETWORK-L
L
lightningnetwork-lnd-ticker
utilitygov1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ticker
github.com/lightningnetwork/lnd/ticker

Creates and starts a ticker that prints 'tick' every second.

package main import ( "fmt" "time" "github.com/lightningnetwork/lnd/ticker" ) func main() { t := ticker.New(time.Second) go func() { for range t.Ticks() { fmt.Println("tick") } }() t.Start() time.Sleep(3 * time.Second) t.Stop() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
lightningnetwork-lnd-ticker — go get lightningnetwork-lnd-ticker · libregistry