Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Async Handler Support #92

@donpark

Description

@donpark

Because response is expected to be returned instead of being passed to a completion block passed into handler blocks, handler blocks are in-effect required to be synchronous.

My handler block needs to build responses based on query result from YapDatabase which only supports async so I had to use dispatch_semaphore to block the calling thread until query finishes.

It would be nice of optional async handler blocks are supported as an optional feature.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions