Skip to content

Class: AggregateSuccess\<SuccessType>

A grouping of multiple successes as a result of an action

Type parameters

Name Type
SuccessType extends SuccessResult

Hierarchy

AggregateSuccess

Constructors

constructor

new AggregateSuccess\<SuccessType>(results): AggregateSuccess\<SuccessType>

Type parameters

Name Type
SuccessType extends SuccessResult

Parameters

Name Type
results SuccessType[]

Returns

AggregateSuccess\<SuccessType>

Overrides

SuccessResult.constructor

Defined in

packages/connected/src/results/success/SuccessResult.ts:47

Properties

isError

Readonly isError: false

Inherited from

SuccessResult.isError

Defined in

packages/connected/src/results/success/SuccessResult.ts:9


results

results: SuccessType[]

An array of all successesses

Defined in

packages/connected/src/results/success/SuccessResult.ts:45


type

type: "aggregateSuccess"

Overrides

SuccessResult.type

Defined in

packages/connected/src/results/success/SuccessResult.ts:40