Skip to content

Custom control flow #85

@ajaychandran

Description

@ajaychandran

Hi,

I am trying to write user space device drivers using Monifu.

I have a USB port exposed as an Observable and Subscriber for reading and writing bits, similar to a Scalaz Exchange.

The driver must sequence requests sent to the device, that is, once a request is written to the device, the next one should be written only after a response is received. Furthermore, if a response is not received within a specified timeout, the first request must be retried.

I do not want to add this sequencing logic in the client. A client should be able to send any number of requests and the driver should sequence it appropriately.

Are there any examples for such custom processing? Any help will be much appreciated.

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