stream-chat-react-native-core
Version:
The official React Native and Expo components for Stream Chat, a service for building chat applications
21 lines • 458 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SignalStore = void 0;
var _streamChat = require("stream-chat");
var INITIAL_STATE = {
signal: false
};
class SignalStore {
state = new _streamChat.StateStore(INITIAL_STATE);
signal() {
this.state.partialNext({
signal: true
});
this.state.partialNext({
signal: false
});
}
}
exports.SignalStore = SignalStore;
//# sourceMappingURL=signal-store.js.map