We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89813ca commit 6094a23Copy full SHA for 6094a23
lua/obsidian/client.lua
@@ -765,7 +765,7 @@ end
765
--- Apply a function over all notes in the current vault.
766
---
767
---@param on_note fun(note: obsidian.Note)
768
----@param on_done fun()
+---@param on_done fun()|?
769
---@param timeout integer|? Timeout in milliseconds.
770
Client.apply_async = function(self, on_note, on_done, timeout)
771
self:apply_async_raw(function(path)
@@ -781,7 +781,7 @@ end
781
--- Like apply, but the callback takes a path instead of a note instance.
782
783
---@param on_path fun(path: string)
784
785
786
Client.apply_async_raw = function(self, on_path, on_done, timeout)
787
local scan = require "plenary.scandir"
0 commit comments