Open tshemsedinov opened 9 months ago
const default = { userName: 'Marcus', fileName: 'file.txt' }; const ac = collect(['userName', 'fileName'], { default, timeout: 1000 });
If values will not be added in 1 sec, default values will be used
If I understand you correctly, default values must be used after timeout after initialization of collector and not after set command
set
If values will not be added in 1 sec, default values will be used