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 2331 dni, 4 godziny, 49 minut temu Piotr Stapp 19 pokaż kod licznika zwiń

Wczytywanie artykułów...