gptscript icon indicating copy to clipboard operation
gptscript copied to clipboard

async/await

Open thedadams opened this issue 1 year ago • 0 comments

Since some of these process can take a while, it would be nice to have some type of async/await.

The nicest version of this I can imagine is automatic. That is, the function starts in the background and gptscript is smart enough to know when it needs the output of the async step and await it.

The other version is allowing a user to define async functions and await them.

thedadams avatar Feb 08 '24 17:02 thedadams