0.1.0 #1

Merged
Thilawyn merged 87 commits from next into master 2025-01-18 00:54:42 +01:00
Showing only changes of commit 0e7f5d93bb - Show all commits

View File

@@ -81,7 +81,7 @@ export class Reffuse<R> {
runSync, runSync,
) )
return () => runSync(Scope.close(scope, Exit.void)) return () => { runSync(Scope.close(scope, Exit.void)) }
}, [ }, [
...options?.doNotReExecuteOnRuntimeOrContextChange ? [] : [runSync], ...options?.doNotReExecuteOnRuntimeOrContextChange ? [] : [runSync],
...(deps ?? []), ...(deps ?? []),
@@ -101,7 +101,7 @@ export class Reffuse<R> {
runSync, runSync,
) )
return () => runSync(Scope.close(scope, Exit.void)) return () => { runSync(Scope.close(scope, Exit.void)) }
}, [ }, [
...options?.doNotReExecuteOnRuntimeOrContextChange ? [] : [runSync], ...options?.doNotReExecuteOnRuntimeOrContextChange ? [] : [runSync],
...(deps ?? []), ...(deps ?? []),