Make async

This commit is contained in:
Andras Schmelczer 2024-12-10 21:37:25 +00:00
parent a38c15db95
commit b57a0ac0d4
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -1,8 +1,8 @@
import { TAbstractFile } from "obsidian";
export interface FileEventHandler {
onCreate: (path: TAbstractFile) => void;
onDelete: (path: TAbstractFile) => void;
onRename: (path: TAbstractFile, oldPath: string) => void;
onModify: (path: TAbstractFile) => void;
onCreate: (path: TAbstractFile) => Promise<void>;
onDelete: (path: TAbstractFile) => Promise<void>;
onRename: (path: TAbstractFile, oldPath: string) => Promise<void>;
onModify: (path: TAbstractFile) => Promise<void>;
}