From @adamplouff
export const asModal = async (commandName: string, callback: Function) => {
return await executeAsModal(async (executionContext) => await callback(*executionContext*), { commandName });
};
Pass executionContext to the callback so the user can cancel and get progress updates
From @adamplouff
Pass executionContext to the callback so the user can cancel and get progress updates