decord/source/actions/native/InAppNotificationActionCreators.tsx
2026-08-15 05:55:55 +00:00

20 lines
569 B
TypeScript

// Module ID: 10031
// Function ID: 10032
// Name: dispatcher
// Dependencies: [709, 2]
// Module 10031 (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" });
});
}
};