decord/source/actions/TypingActionCreators.tsx

24 lines
576 B
TypeScript
Raw Normal View History

// Module ID: 11994
// Function ID: 11995
2026-07-23 10:11:24 +00:00
// Name: dispatcher
// Dependencies: [573, 2]
2026-07-20 16:05:17 +00:00
// Module 11994 (dispatcher)
2026-08-24 06:08:38 +00:00
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 573 */;
2026-08-24 06:08:38 +00:00
const result = set.fileFinishedImporting("actions/TypingActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export default {
startTyping(id) {
2026-08-24 06:08:38 +00:00
let obj = dispatcherDefault;
2026-07-20 16:05:17 +00:00
obj = { type: "TYPING_START_LOCAL", channelId: id };
obj.dispatch(obj);
},
stopTyping(id) {
2026-08-24 06:08:38 +00:00
let obj = dispatcherDefault;
2026-07-20 16:05:17 +00:00
obj = { type: "TYPING_STOP_LOCAL", channelId: id };
obj.dispatch(obj);
}
};