9 ms·
I'm a little confused - when you say "should write value to pipe or block until it can"[1] - I don't see how this will block, it looks like it will just return
by ZitchDog 12y ago
I'm a little confused - when you say "should write value to pipe or block until it can"[1] - I don't see how this will block, it looks like it will just return if the pipe is full. I confess to be only a little bit familiar with GCD!
[1] https://github.com/billylindeman/swiftgo/blob/master/swiftgo/go.swift#L55 https://github.com/billylindeman/swiftgo/blob/master/swiftgo...
- billylindeman 12y agoderp. yeah i wrote the comments before i coded it. I'll probably revise this section at some point. I still want to figure out if implementing select{} is possible