mondora / asteroid

An alternative client for a Meteor backend
MIT License
734 stars 101 forks source link

Disconnecting from Remote Meteor App? #118

Closed aadamsx closed 7 years ago

aadamsx commented 7 years ago

We can connect to Remote Meteor App like so:

import {createClass} from "asteroid";

const Asteroid = createClass(); // Connect to a Meteor backend const asteroid = new Asteroid({ endpoint: "ws://localhost:3000/websocket" });

But what about disconnecting?

davidebianchi commented 7 years ago

The available methods are in the README. There is the disconnect method provided by ddp mixin, It is this what you are looking for?

aadamsx commented 7 years ago

Thanks!