Closed jameshartig closed 6 years ago
This currently only affects Get if CreateLimit is used, but this could be used in the future for any other blocking features that are added. A specific ErrGetTimeout is returned if it is hit so the caller could potentially do something special.
CreateLimit
ErrGetTimeout
@mediocregopher updated fixing those 3 things. Not sure why I thought nil channels returned the zeroed value immediately versus blocking.
This currently only affects Get if
CreateLimit
is used, but this could be used in the future for any other blocking features that are added. A specificErrGetTimeout
is returned if it is hit so the caller could potentially do something special.