Loading…
|
Translation changed |
|
|
String added in the repository |
|
Loading…
|
Translation changed |
|
|
String added in the repository |
|
This stream can be used for synchronous and asynchronous reading and writing. It allows timeouts to be set on logical operations, and can have an executor associated with the stream which is used to invoke completion handlers. This lets you set a strand on the stream once, which is then used for all asynchronous operations automatically.该流支持同步和异步读写操作。它允许为逻辑操作设置超时,也可以为流关联一个执行器,用来调用完成处理器。这样就可以对流只设置一次串行器,之后所有异步操作都会自动使用该串行器。