Skip to content

Would a non-async call be possible? #178

@winterstein

Description

@winterstein

Expected Behavior

Would it be possible for an API that does a synchronous return (without using promises)? E.g.
StackTrace.getNow() -> array of stackframes

I understand that the results would be more limited, but probably still an improvement on the raw output from new Error().stack.

Context

This would let me use it in code where the thread/async flow has to remain as-is.

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