Skip to content

[Feature]: Make initial fetch optional on subscriptions #461

@rsodre

Description

@rsodre

Feature Request

Fetching initial entities and events on new subscriptions can be convenient, but sometimes it is not necessary, just spending time and resources.

Proposed Solution

Add some option on subscribeEntityQuery() and subscribeEventQuery() to skip initial data fetching, and just open the subscription, do not run the query.

Alternatives

Discarding initial data, but it makes loading times take longer and consumes Torii resources.

Related Code

No response

Additional context

No response

If the feature is accepted, would you be willing to contribute it?

  • Yes I would be willing to contribute

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