Closed aadamsx closed 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?
The available methods are in the README. There is the disconnect method provided by ddp mixin, It is this what you are looking for?
ddp
Thanks!
We can connect to Remote Meteor App like so:
const Asteroid = createClass(); // Connect to a Meteor backend const asteroid = new Asteroid({ endpoint: "ws://localhost:3000/websocket" });
But what about disconnecting?