Supply result type.
Constructs an indicator.
Constructs an indicator derived from the base
one.
Constructed indicator will indicate cut off happened at the same time as the base
one.
Base indicator to derive from.
Initialization parameters overriding corresponding values from the base
indicator.
An error indicating supply failure reason.
Contains value only when failed flag is true
. Contains undefined
value otherwise.
Whether the supply has failed.
When true
, the error property contains a failure reason.
A reference to itself.
Use to detect a supply cut off indicator.
A result of successfully completed supply.
Contains value only when failed flag is false
. Contains undefined
otherwise.
Whether indicated cut off happened at the same time as another
one.
The supplies depending on the one cut off initially, considered cut off at the same time.
Another cut off indicator.
Static
becauseCreates a supply cut off reason indicator caused by the given reason
.
reason
is an indicator already, just returns it.reason
is undefined
, then creates new successful supply cut off indicator.reason
as supply failure error.Rest
...__namedParameters: ReasonArgs<TResult, TReason>Supply cut off indicator cause by reason
.
Static
faultilyStatic
successfullyCreates indicator of successfully completed supply.
Supply result.
Success indicator.
Generated using TypeDoc
An indicator of supply cut off.
Indicates why the supply has been cut off (i.e. due to failure or successful completion), and when this happened.