Skip to content

PollInObsidianParams.poll method

PollInObsidianParams › poll

The closure polled repeatedly inside Obsidian. Keep it short (well under the ~30s CDP cap): it should read and return a JSON-serializable status, not await the long operation itself.

Signature:

poll(this: void, input: CommonArguments & ContextArguments<TContextId> & Input): Promisable<PollResult>

Parameters:

ParameterTypeDescription
thisvoid
inputCommonArguments & ContextArguments<TContextId> & Input

Returns: Promisable<PollResult>