Skip to content

Get data from cache synchronously #108

@vaakian

Description

@vaakian

I want to get data from cache synchronously if cache hits, so as to reduce an extra event loop. But it's seems the cache.get method is always returning a promise.

Is there a existing workaround to achieve that? would be really appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions