An easy-to-use platform for EEG experimentation in the classroom
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Updated pyodide actions

authored by

jdpigeon and committed by
Teon L Brooks
aef07315 8e0fd9ad

+5 -13
+5 -13
app/actions/pyodideActions.ts
··· 6 6 // Actions 7 7 8 8 export const PyodideActions = { 9 - SendExecuteRequest: createAction<string, 'SEND_EXECUTE_REQUEST'>( 10 - 'SEND_EXECUTE_REQUEST' 9 + Launch: createAction('LAUNCH'), 10 + SetPyodideWorker: createAction<Worker, 'SET_PYODIDE_WORKER'>( 11 + 'SET_PYODIDE_WORKER' 11 12 ), 12 13 LoadEpochs: createAction<string[], 'LOAD_EPOCHS'>('LOAD_EPOCHS'), 13 14 LoadCleanedEpochs: createAction<string[], 'LOAD_CLEANED_EPOCHS'>( ··· 21 22 'GET_EPOCHS_INFO' 22 23 ), 23 24 GetChannelInfo: createAction('GET_CHANNEL_INFO'), 24 - SetMainChannel: createAction<any, 'SET_MAIN_CHANNEL'>('SET_MAIN_CHANNEL'), 25 25 SetEpochInfo: createAction<any, 'SET_EPOCH_INFO'>('SET_EPOCH_INFO'), 26 26 SetChannelInfo: createAction<any, 'SET_CHANNEL_INFO'>('SET_CHANNEL_INFO'), 27 27 SetPSDPlot: createAction<any, 'SET_PSD_PLOT'>('SET_PSD_PLOT'), 28 28 SetTopoPlot: createAction<any, 'SET_TOPO_PLOT'>('SET_TOPO_PLOT'), 29 29 SetERPPlot: createAction<any, 'SET_ERP_PLOT'>('SET_ERP_PLOT'), 30 - ReceiveExecuteReply: createAction<any, 'RECEIVE_EXECUTE_REPLY'>( 31 - 'RECEIVE_EXECUTE_REPLY' 32 - ), 33 - ReceiveExecuteResult: createAction<any, 'RECEIVE_EXECUTE_RESULT'>( 34 - 'RECEIVE_EXECUTE_RESULT' 35 - ), 36 - ReceiveDisplayData: createAction<any, 'RECEIVE_DISPLAY_DATA'>( 37 - 'RECEIVE_DISPLAY_DATA' 38 - ), 39 - ReceiveStream: createAction<any, 'RECEIVE_STREAM'>('RECEIVE_STREAM'), 30 + ReceiveMessage: createAction<any, 'RECEIVE_MESSAGE'>('RECEIVE_MESSAGE'), 31 + ReceiveError: createAction<any, 'RECEIVE_ERROR'>('RECEIVE_ERROR'), 40 32 } as const; 41 33 42 34 export type PyodideActionType = ActionType<