Type alias ConditionalResult<T>

ConditionalResult<T>: {
    notSave: boolean;
    value: T;
}

Used for Cache decorator. User notSave field to define whether to cache calculated result.

Type Parameters

  • T

Type declaration

  • notSave: boolean
  • value: T

Generated using TypeDoc