Skip to content

Move API listener to background task #35

@leonhard-s

Description

@leonhard-s

API polling can be fairly expensive, yet most of the time no state change is performed. This makes it ideal for a background task that can be polled by the map every ~second to keep the map up-to-date without blocking any rendering operations. requestIdleCallback() could prove useful as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    performanceThis will improve map responsiveness

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions