"use strict"; export default async function(params) { // TODO: Display UI elements until switch is complete? Or maybe add a cancellation token / AbortSignal to TableView.switch_table()? console.log(`TABLE SWITCH START: ${params.table_name}`); await globalThis.sysui.tableview.switch_table(params.table_name); console.log(`TABLE SWITCH COMPLETE: ${params.table_name}`); }