This commit is contained in:
Tony Garnock-Jones 2024-05-30 13:26:02 +02:00
parent 8fcea8362c
commit d9fe78edf7
1 changed files with 2 additions and 0 deletions

View File

@ -283,6 +283,8 @@ export class Facet {
}
export function suspend(asyncFn: (resume: <T>(v: T) => T) => void) {
// TODO: consider how this should/could interact with preventInertCheck
const facet = Turn.activeFacet;
const resume = <T>(v: T) => {