Strona głównaSztuka programowania

In part 1, we discussed some of the problems that exist in the familiar Stream API, and we had an introduction to the Pipe, PipeWriter and PipeReader APIs, looking at how to write to a single Pipe and then consume the data from that Pipe; we also discussed how FlushAsync() and ReadAsync() work together to keep both sides of the machinery working, dealing with "empty" and "full" scenarios - suspending the reader when there is nothing to do, and resuming it when data arrives; and suspending the writer when...

Tagi: stream
Dziel się z innymi:
[EN] Code, code and more code.: Pipe Dreams, part 2

Sztuka programowania 231 dni, 14 godzin, 35 minut temu Piotr Stapp 17 pokaż kod licznika zwiń

Wczytywanie artykułów...