MCPcopy Create free account
hub / github.com/alibaba/PhotonLibOS / async_callback

Method async_callback

fs/test/test.cpp:560–563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558 {
559 public:
560 int async_callback(AsyncResult<ssize_t>* ar)
561 {
562 return ::async_callback(this, ar);
563 }
564 void do_test(IAsyncFile* f)
565 {
566 f->pread(nullptr, 200, 300, {this, &TestAsyncFS::async_callback});

Callers

nothing calls this directly

Calls 1

async_callbackFunction · 0.85

Tested by

no test coverage detected