Skip to content

Async IO #76

Description

@mpi3d

Hi,

Is it possible to have async functions binding in the same way that gpio_cdev::AsyncLineEventHandle does?

Is it as simple as opening the device file in non-blocking mode and warping the raw file descriptor in a tokio::io::unix::AsyncFd?

It would be very helpful to have an async API.

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions