Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Dax Raad
2025-11-08 20:21:02 -05:00
214 changed files with 1522 additions and 3744 deletions

View File

@@ -13,11 +13,7 @@ const context = Context.create<Context>("instance")
const cache = new Map<string, Promise<Context>>()
export const Instance = {
async provide<R>(input: {
directory: string
init?: () => Promise<any>
fn: () => R
}): Promise<R> {
async provide<R>(input: { directory: string; init?: () => Promise<any>; fn: () => R }): Promise<R> {
let existing = cache.get(input.directory)
if (!existing) {
existing = iife(async () => {