Skip to main content
The Deno 2 Release Candidate is here
Learn more
method ImporterUtil.prototype.loadAsync
Re-export
import { ImporterUtil } from "https://deno.land/x/sptaki@1.2.0/utils/mod.ts";

Parameters

filepath: string
optional
strippablePath: string
optional
onReadCallback: (fileWithPath: string, data: string) => void
optional
onObjectDeserialized: (fileWithPath: string, object: any) => void

Returns

Promise<T>