We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a87a4d7 commit d19074aCopy full SHA for d19074a
1 file changed
vlib/context/empty.v
@@ -13,6 +13,7 @@ pub fn (ctx &EmptyContext) deadline() ?time.Time {
13
return none
14
}
15
16
+// done returns a closed channel, since an EmptyContext can never be canceled.
17
pub fn (ctx &EmptyContext) done() chan int {
18
ch := chan int{}
19
ch.close()
0 commit comments