AsyncIO.close

Issues a close request, blocking the fiber connected to the provided suspendable request handler until the request finishes.

Synchronize a file's in-core state with storage device.

class AsyncIO
void
close

Parameters

fd int

file descriptor to close

suspended_job JobNotification

JobNotification instance to block the caller on

Throws

ErrnoException with appropriate errno set in the case of failure

Meta