()
| 69 | } |
| 70 | |
| 71 | func ExampleDelay() { |
| 72 | var print = func(s string) { |
| 73 | fmt.Println(s) |
| 74 | } |
| 75 | |
| 76 | Delay(2*time.Second, print, "hello") |
| 77 | |
| 78 | // Output: |
| 79 | // hello |
| 80 | } |
| 81 | |
| 82 | func ExampleDebounce() { |
| 83 | callCount := 0 |
nothing calls this directly
no test coverage detected
searching dependent graphs…