refactor/channel & ipc (#349)
Co-authored-by: paisley <8197966+su8su@users.noreply.github.com> Co-authored-by: zuolingxuan <zuolingxuan@bytedance.com>
This commit is contained in:
committed by
GitHub
Unverified
parent
8b45960662
commit
e28eba01e1
12
src/stores/chat/runtime-actions.ts
Normal file
12
src/stores/chat/runtime-actions.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { ChatGet, ChatSet, RuntimeActions } from './store-api';
|
||||
import { createRuntimeEventActions } from './runtime-event-actions';
|
||||
import { createRuntimeSendActions } from './runtime-send-actions';
|
||||
import { createRuntimeUiActions } from './runtime-ui-actions';
|
||||
|
||||
export function createRuntimeActions(set: ChatSet, get: ChatGet): RuntimeActions {
|
||||
return {
|
||||
...createRuntimeSendActions(set, get),
|
||||
...createRuntimeEventActions(set, get),
|
||||
...createRuntimeUiActions(set, get),
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user