decord/source/actions/native/InAppNotificationActionCreators.tsx
2026-08-10 06:55:34 +00:00

20 lines
566 B
TypeScript

// Module ID: 9770
// Function ID: 9771
// Name: dispatcher
// Dependencies: [709, 2]
// Module 9770 (dispatcher)
const result = require("set").fileFinishedImporting("actions/native/InAppNotificationActionCreators.tsx");
export default {
enqueueNotification(buildResult) {
let obj = importDefault(709);
obj = { type: "ENQUEUE_IN_APP_NOTIFICATION", notification: buildResult };
obj.dispatch(obj);
},
clearNotification() {
importDefault(709).wait(() => {
callback(table[0]).dispatch({ type: "CLEAR_IN_APP_NOTIFICATION" });
});
}
};