NAME
Crypt::SecretBuffer::AsyncResult - Observe results of a write_async operation
DESCRIPTION
This object holds a reference to a background write operation started by Crypt::SecretBuffer::write_async. There is only one method currently:
METHODS
wait
if (($bytes_written, $os_error)= $result->wait($seconds_or_undef)) {
...
}
This waits up to $seconds
(or indefinitely if you pass undef) for the write operation to complete, then if it has completed, returns the number of bytes written, and the OS error code, if any.
VERSION
version 0.001
AUTHOR
Michael Conrad <mike@nrdvana.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2025 by Michael Conrad.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.