fix(core): update
This commit is contained in:
@ -8,10 +8,10 @@ import * as lik from '../ts/index';
|
||||
|
||||
let testTimedAggregator: lik.TimedAggregtor<string>;
|
||||
|
||||
tap.test('should create a timed aggregaotor', async (tools) => {
|
||||
tap.test('should create a timed aggregaotor', async tools => {
|
||||
testTimedAggregator = new lik.TimedAggregtor<string>({
|
||||
aggregationIntervalInMillis: 1000,
|
||||
functionForAggregation: (aggregation) => {
|
||||
functionForAggregation: aggregation => {
|
||||
console.log(aggregation);
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user