Skip to content

Query data once #6

@aliakkawi

Description

@aliakkawi

In my case i need get user Documents on a specific radius and i need that only 'Once', which means i need a way to do that without using Stream. The use of stream causes 'Background concurrent copying GC freed' that leads to memory leaks and freezes the app,
I tried to use Stream Subscription and cancel it as soon i receive data for the first time, but i guess the Stream is not getting stopped.
I need a way to do it like this
QuerySnapshot querySnapshot = await query.get();

Thanks for your suggestions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions