Skip to content

Async IO #76

@mpi3d

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions