Class: PerformancePlanUtils
Defined in: src/sdk/performance/PerformancePlan.ts:11
Utils for performance plans
Constructors
Constructor
new PerformancePlanUtils():
PerformancePlanUtils
Returns
PerformancePlanUtils
Methods
deserializeInto()
staticdeserializeInto<P>(data,plan):void
Defined in: src/sdk/performance/PerformancePlan.ts:35
Deserializes a serialized performance plan into a plan
Type Parameters
| Type Parameter |
|---|
P extends PerformancePlan |
Parameters
| Parameter | Type | Description |
|---|---|---|
data | string | the serialized data string |
plan | P | the plan to deserialize into |
Returns
void
serialize()
staticserialize<P>(plan):string
Defined in: src/sdk/performance/PerformancePlan.ts:19
Serializes a plan
Type Parameters
| Type Parameter |
|---|
P extends PerformancePlan |
Parameters
| Parameter | Type | Description |
|---|---|---|
plan | P | the plan to serialize |
Returns
string
the serialized JSON string