Asynchronously creates a new file and returns a stream for reading and writing to it.
The file must not already exist.
For more details, see create_readwrite which is the synchronous version of this call.
When the operation is finished, callback
will be called. You can then call
create_readwrite_async.end to get the result of the operation.
this |
input File |
flags |
a set of FileCreateFlags |
io_priority |
the I/O priority of the request |
cancellable |
optional Cancellable object, null to ignore |
callback |
a AsyncReadyCallback to call when the request is satisfied |
user_data |
the data to pass to callback function |