NAME

Linux::Event::Proactor::Backend::Fake - Deterministic testing backend for Linux::Event::Proactor

DESCRIPTION

Linux::Event::Proactor::Backend::Fake is a deterministic backend used by the proactor test suite. It does not perform real asynchronous I/O. Instead, it allocates backend tokens, records pending operations, and exposes helper methods that let tests complete operations explicitly.

This backend is useful for verifying lifecycle, callback queueing, cancellation, settle-once behavior, and registry bookkeeping without relying on a real kernel backend.

SUPPORTED OPERATIONS

The fake backend supports the same operation surface as the engine:

  • read

  • write

  • recv

  • send

  • accept

  • connect

  • shutdown

  • close

  • timeout

TEST HELPERS

This backend provides helper methods used by tests to force completion of pending operations. They are intentionally private and are not part of the public user API.

SEE ALSO

Linux::Event::Proactor, Linux::Event::Proactor::Backend, Linux::Event::Proactor::Backend::Uring