MCPcopy Index your code
hub / github.com/duke-git/lancet / TestDelay

Function TestDelay

function/function_test.go:99–104  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

97}
98
99func TestDelay(t *testing.T) {
100 var print = func(s string) {
101 t.Log(s)
102 }
103 Delay(2*time.Second, print, "test delay")
104}
105
106func TestDebounced(t *testing.T) {
107 assert := internal.NewAssert(t, "TestDebounced")

Callers

nothing calls this directly

Calls 1

DelayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…