decord/source/actions/native/InAppNotificationActionCreators.tsx

22 lines
656 B
TypeScript
Raw Normal View History

// Module ID: 10128
// Function ID: 10129
// Name: InAppNotificationActionCreators
// Dependencies: [573, 2]
2026-07-20 16:05:17 +00:00
// Module 10128 (InAppNotificationActionCreators)
import DispatcherDefault from "Dispatcher" /* 573 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const result = size.fileFinishedImporting("actions/native/InAppNotificationActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export default {
2026-07-30 10:14:41 +00:00
enqueueNotification(buildResult) {
DispatcherDefault.dispatch({ type: "ENQUEUE_IN_APP_NOTIFICATION", notification: buildResult });
2026-07-20 16:05:17 +00:00
},
clearNotification() {
DispatcherDefault.wait(() => {
DispatcherDefault.dispatch({ type: "CLEAR_IN_APP_NOTIFICATION" });
2026-07-20 16:05:17 +00:00
});
}
};