- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestCustomContextPropagation (0.18 sec)
-
src/context/x_test.go
} type customDoneContext struct { Context donec chan struct{} } func (c *customDoneContext) Done() <-chan struct{} { return c.donec } func TestCustomContextPropagation(t *testing.T) { cause := errors.New("TestCustomContextPropagation") donec := make(chan struct{}) ctx1, cancel1 := WithCancelCause(Background()) ctx2 := &customDoneContext{ Context: ctx1, donec: donec, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 26.3K bytes - Viewed (0)