公告板
版本库
filestore
活动
搜索
登录
main
/
zhangshi_app_web
张氏APP 前端
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
1.将收藏荣誉、荣誉证书中的时间字段变成了可选项 2.成长经历阅历主要经历变成长文本框,新增按钮接入蓝湖样式,点击保存之后可以自动刷新
Tcsm
2023-06-05
315b5eb9a71d3b6ee8a96bd9153c469c2b6cccaf
[zhangshi_app_web.git]
/
node_modules
/
rxjs
/
_esm2015
/
internal
/
operators
/
timeInterval.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { async } from '../scheduler/async';
import { scan } from './scan';
import { defer } from '../observable/defer';
import { map } from './map';
export function timeInterval(scheduler = async) {
return (source) => defer(() => {
return source.pipe(scan(({ current }, value) => ({ value, current: scheduler.now(), last: current }), { current: scheduler.now(), value: undefined, last: undefined }), map(({ current, last, value }) => new TimeInterval(value, current - last)));
});
}
export class TimeInterval {
constructor(value, interval) {
this.value = value;
this.interval = interval;
}
}
//# sourceMappingURL=timeInterval.js.map