src/utils/skynet-ops.js
// Returns the _data from a lazy loaded skylink.
Returns the _data from a lazy loaded skylink.
Returns the _data from a lazy loaded skylink .
async function lazyLoadFromSkylink(skylink) {
    const data = await readFileContentFromSkylink(skylink);
    console.debug(`Lazy loading file content:\n\tskylink=${JSON.stringify(skylink)}\n\t->res=${JSON.stringify(data)}`);
    return data?._data;
}
async function lazyLoadFromSkylink ( skylink ) { const data = await readFileContentFromSkylink ( skylink ) ; console . debug ( ` \n \t ${ JSON . stringify ( skylink ) } \n \t ${ JSON . stringify ( data ) } ` ) ; return data ?. _data ; }
Returns the _data from a lazy loaded skylink.
Returns the _data from a lazy loaded skylink .