mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-26 10:45:57 +08:00
feat(core): show sync state at doc info (#7244)
This commit is contained in:
@@ -345,7 +345,7 @@ export class LiveData<T = unknown>
|
||||
duration: number,
|
||||
{ trailing = true, leading = true }: ThrottleConfig = {}
|
||||
) {
|
||||
return LiveData.from(
|
||||
return LiveData.from<T>(
|
||||
this.pipe(throttleTime(duration, undefined, { trailing, leading })),
|
||||
null as any
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user