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

Function ExampleAfter

function/function_example_test.go:9–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7)
8
9func ExampleAfter() {
10 fn := After(2, func() {
11 fmt.Println("test")
12 })
13
14 fn()
15 fn()
16
17 // Output:
18 // test
19}
20
21func ExampleBefore() {
22 fn := Before(2, func() {

Callers

nothing calls this directly

Calls 1

AfterFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…