Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Archived: Gadget is winding down. These tools are no longer maintained.
Disallow awaiting handle.result() inside run or onSuccess exports in Gadget actions.
export const run = async () => { const handle = await api.enqueue(api.publish, {}); // awaiting the result blocks the transaction and causes GGT_TRANSACTION_TIMEOUT await handle.result(); };
export const run = async () => { // enqueue the background action and move on await api.enqueue(api.publish, {}); };
Was this page helpful?