Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Transaction<[string, string[], unknown], boolean>
    • PreferenceTransaction

Index

Constructors

Properties

_open: boolean = true
_result: Deferred<boolean> = ...
editorManager: EditorManager
inUse: boolean = false

Whether any actions have been added to the transaction. The Transaction will not self-dispose until at least one action has been performed.

jsoncEditor: MonacoJSONCEditor
messageService: MessageService
onWillConcludeEmitter: Emitter<OnWillConcludeEvent<unknown>> = ...
queue: Mutex = ...

The transaction will self-dispose when the queue is empty, once at least one action has been processed.

reference: undefined | IReference<MonacoEditorModel>
status: Deferred<unknown> = ...
textModelService: MonacoTextModelService

Accessors

  • get open(): boolean
  • get result(): Promise<false | Result>

Methods

  • act(key: string, path: string[], value: unknown): Promise<boolean>
  • conclude(): Promise<void>
  • dispose(): void
  • disposeWhenDone(): void
  • doInit(): Promise<void>
  • enqueueAction(...args: [string, string[], unknown]): Promise<boolean>
  • handleDirtyEditor(): Promise<boolean>
  • init(): void
  • setUp(): Promise<boolean>
  • tearDown(): Promise<boolean>
  • waitFor(delay?: Promise<unknown>, disposeIfRejected?: boolean): Promise<void>