@schemeless/event-store-react-native
Version:
React Native compatible build of the [`@schemeless/event-store`](../event-store) runtime. It mirrors the Node.js implementation but swaps the internal queue implementation to [`react-native-better-queue`](https://github.com/YahyaASadiq/react-native-better
14 lines (13 loc) • 496 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.StandardObserver = exports.mockObserverApply = void 0;
const Standard_event_1 = require("./Standard.event");
const NestedOnce_event_1 = require("./NestedOnce.event");
exports.mockObserverApply = jest.fn();
exports.StandardObserver = {
filters: [Standard_event_1.StandardEvent, NestedOnce_event_1.NestedOnceEvent],
priority: 1,
apply: (event) => {
(0, exports.mockObserverApply)();
},
};