Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

📚 Documentation: Update Realtime Examples #161

@SiyrisSoul

Description

@SiyrisSoul

It looks like #140 didn't update the examples for Subscribe to Multiple Channels. Below is one of the examples.

documents.A should now be collections.A.documents.A

final client = Client();
final realtime = Realtime(client);
final subscription = realtime.subscribe(['documents.A', 'files']);

subscription.stream.listen((response) {
    // Callback will be executed on changes for documents A and all files.
    print(response);
})

I'm going to submit a pull request that fixes this shortly.

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