Skip to content

Sync API? #4

@ShadowJonathan

Description

@ShadowJonathan

Ironically, with the sparse state of COAP in Rust, it might be easier to implement an async version of COAP handlers.

However, I can imagine for consumers of the API, such as Element, matrix-rust-sdk, or other mobile clients, it might be easier to embed a synchronous API when interfacing with via FFI.

So the question becomes; how to implement that? How to expose interfaces? Should a whole sub-crate be dedicated to this, or should async APIs offer a sync version? How would this interact with mixed async/sync calls?

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