MCPcopy
hub / github.com/grafana/k6 / Sleep

Method Sleep

cloudapi/logs.go:207–207  ·  view source on GitHub ↗
(d time.Duration)

Source from the content-addressed store, hash-verified

205// sleeper represents an abstraction for waiting an amount of time.
206type sleeper interface {
207 Sleep(d time.Duration)
208}
209
210// sleeperFunc uses the underhood function for implementing the wait operation.

Callers 15

TestRequestFunction · 0.65
TestResolverFunction · 0.65
getTestTracerFunction · 0.65
TestTracerFunction · 0.65
TestCancelledRequestFunction · 0.65
TestConnResetFunction · 0.65
TestHTTP2StreamErrorFunction · 0.65

Implementers 1

K6internal/js/modules/k6/k6.go

Calls

no outgoing calls

Tested by 15

TestRequestFunction · 0.52
TestResolverFunction · 0.52
getTestTracerFunction · 0.52
TestTracerFunction · 0.52
TestCancelledRequestFunction · 0.52
TestConnResetFunction · 0.52
TestHTTP2StreamErrorFunction · 0.52