Skip to content

@serenity-is/corelib / getRemoteData

Function: getRemoteData()

getRemoteData<TData>(key): TData

Defined in: src/base/scriptdata.ts:253

Synchronous version of getRemoteDataAsync for legacy compatibility. Blocks the UI thread.

Type Parameters

TData

TData = any

Expected payload type.

Parameters

key

string

Remote data key.

Returns

TData

The remote data payload.