MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / AwaitFileSystemOperationAwaiter

Method AwaitFileSystemOperationAwaiter

Libraries/Await/Await.cpp:2204–2210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2202#if SC_PLATFORM_WINDOWS
2203 operationResult = Result::Error("Await filePoll is not supported on Windows");
2204 return false;
2205#else
2206 request.callback = [this](AsyncFileReadiness::Result& result)
2207 {
2208 operationResult = result.isValid();
2209 continuation.resume();
2210 };
2211
2212 FileDescriptor::Handle handle = FileDescriptor::Invalid;
2213 operationResult = file.get(handle, Result::Error("Await filePoll invalid file"));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected