Skip to content

Latest commit

 

History

History
32 lines (17 loc) · 563 Bytes

getScriptData.md

File metadata and controls

32 lines (17 loc) · 563 Bytes

@serenity-is/corelib / getScriptData

Function: getScriptData()

getScriptData<TData>(name, reload?): Promise<TData>

Returns the script data from cache if available, or via a fetch request to ~/DynamicData endpoint

Type Parameters

TData = any

Parameters

name

string

reload?

boolean

Clear cache and force reload

Returns

Promise<TData>

Defined in

src/base/scriptdata.ts:135