MCPcopy Index your code
hub / github.com/php/frankenphp / timeoutChan

Function timeoutChan

frankenphp.go:774–780  ·  view source on GitHub ↗
(timeout time.Duration)

Source from the content-addressed store, hash-verified

772}
773
774func timeoutChan(timeout time.Duration) <-chan time.Time {
775 if timeout == 0 {
776 return nil
777 }
778
779 return time.After(timeout)
780}
781
782func resetGlobals() {
783 globalMu.Lock()

Callers 2

handleRequestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected