##// END OF EJS Templates
prevent safe::debounce async tasks to run in parallel
prevent safe::debounce async tasks to run in parallel

File last commit:

r115:691199f665e0 ioc ts support
r167:d6fe22864d82 v1.4.3 default
Show More
ValueDescriptor.ts
17 lines | 311 B | video/mp2t | TypeScriptLexer
/ src / main / ts / di / ValueDescriptor.ts
import { Descriptor } from "./interfaces";
export class ValueDescriptor<T> implements Descriptor<any, T> {
_value: T;
constructor(value: T) {
this._value = value;
}
activate() {
return this._value;
}
toString() {
return `@type=${typeof this._value}`;
}
}