Class: HatAllocator
core/HatAllocator.HatAllocator
Constructors
constructor
• new HatAllocator(graph
, context
)
Parameters
Name | Type |
---|---|
graph | Graph |
context | Context |
Defined in
core/HatAllocator.ts:19
Properties
disposables
• Private
disposables: Disposable
[] = []
Defined in
core/HatAllocator.ts:16
disposalFunctions
• Private
disposalFunctions: () => void
[] = []
Defined in
core/HatAllocator.ts:17
isActive
• Private
isActive: boolean
Defined in
core/HatAllocator.ts:15
timeoutHandle
• Private
timeoutHandle: null
| Timeout
= null
Defined in
core/HatAllocator.ts:14
Methods
addDecorations
▸ addDecorations(): Promise
<void
>
Returns
Promise
<void
>
Defined in
core/HatAllocator.ts:74
addDecorationsDebounced
▸ addDecorationsDebounced(): void
Returns
void
Defined in
core/HatAllocator.ts:89
clearEditorDecorations
▸ Private
clearEditorDecorations(editor
): void
Parameters
Name | Type |
---|---|
editor | TextEditor |
Returns
void
Defined in
core/HatAllocator.ts:68
dispose
▸ dispose(): void
Returns
void
Defined in
core/HatAllocator.ts:109
toggleDecorations
▸ Private
toggleDecorations(): void
Returns
void
Defined in
core/HatAllocator.ts:104