obsidian-typings 2.2.1-beta.5 → 2.2.1-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -76,6 +76,10 @@ export declare const InternalPluginName: {
76
76
  readonly Workspaces: "workspaces";
77
77
  readonly ZkPrefixer: "zk-prefixer";
78
78
  };
79
+ export interface PromisedQueue {
80
+ promise: Promise<void>;
81
+ queue(next: () => void | Promise<void>): Promise<void>;
82
+ }
79
83
  /** @public */
80
84
  export interface AppVaultConfigHotkeysRecord extends Record<string, string> {
81
85
  }
@@ -31536,6 +31536,115 @@
31536
31536
  }
31537
31537
  ]
31538
31538
  },
31539
+ {
31540
+ "kind": "Interface",
31541
+ "canonicalReference": "obsidian-typings!PromisedQueue:interface",
31542
+ "docComment": "",
31543
+ "excerptTokens": [
31544
+ {
31545
+ "kind": "Content",
31546
+ "text": "export interface PromisedQueue "
31547
+ }
31548
+ ],
31549
+ "fileUrlPath": "src/obsidian/internals/PromisedQueue.d.ts",
31550
+ "releaseTag": "Public",
31551
+ "name": "PromisedQueue",
31552
+ "preserveMemberOrder": false,
31553
+ "members": [
31554
+ {
31555
+ "kind": "PropertySignature",
31556
+ "canonicalReference": "obsidian-typings!PromisedQueue#promise:member",
31557
+ "docComment": "",
31558
+ "excerptTokens": [
31559
+ {
31560
+ "kind": "Content",
31561
+ "text": "promise: "
31562
+ },
31563
+ {
31564
+ "kind": "Reference",
31565
+ "text": "Promise",
31566
+ "canonicalReference": "!Promise:interface"
31567
+ },
31568
+ {
31569
+ "kind": "Content",
31570
+ "text": "<void>"
31571
+ },
31572
+ {
31573
+ "kind": "Content",
31574
+ "text": ";"
31575
+ }
31576
+ ],
31577
+ "isReadonly": false,
31578
+ "isOptional": false,
31579
+ "releaseTag": "Public",
31580
+ "name": "promise",
31581
+ "propertyTypeTokenRange": {
31582
+ "startIndex": 1,
31583
+ "endIndex": 3
31584
+ }
31585
+ },
31586
+ {
31587
+ "kind": "MethodSignature",
31588
+ "canonicalReference": "obsidian-typings!PromisedQueue#queue:member(1)",
31589
+ "docComment": "",
31590
+ "excerptTokens": [
31591
+ {
31592
+ "kind": "Content",
31593
+ "text": "queue(next: "
31594
+ },
31595
+ {
31596
+ "kind": "Content",
31597
+ "text": "() => void | "
31598
+ },
31599
+ {
31600
+ "kind": "Reference",
31601
+ "text": "Promise",
31602
+ "canonicalReference": "!Promise:interface"
31603
+ },
31604
+ {
31605
+ "kind": "Content",
31606
+ "text": "<void>"
31607
+ },
31608
+ {
31609
+ "kind": "Content",
31610
+ "text": "): "
31611
+ },
31612
+ {
31613
+ "kind": "Reference",
31614
+ "text": "Promise",
31615
+ "canonicalReference": "!Promise:interface"
31616
+ },
31617
+ {
31618
+ "kind": "Content",
31619
+ "text": "<void>"
31620
+ },
31621
+ {
31622
+ "kind": "Content",
31623
+ "text": ";"
31624
+ }
31625
+ ],
31626
+ "isOptional": false,
31627
+ "returnTypeTokenRange": {
31628
+ "startIndex": 5,
31629
+ "endIndex": 7
31630
+ },
31631
+ "releaseTag": "Public",
31632
+ "overloadIndex": 1,
31633
+ "parameters": [
31634
+ {
31635
+ "parameterName": "next",
31636
+ "parameterTypeTokenRange": {
31637
+ "startIndex": 1,
31638
+ "endIndex": 4
31639
+ },
31640
+ "isOptional": false
31641
+ }
31642
+ ],
31643
+ "name": "queue"
31644
+ }
31645
+ ],
31646
+ "extendsTokenRanges": []
31647
+ },
31539
31648
  {
31540
31649
  "kind": "Interface",
31541
31650
  "canonicalReference": "obsidian-typings!PropertiesPluginInstance:interface",