Generator
Ƭ Generator<T>: (tree: any, schema: T) => void | GeneratorCallback | Promise<void | GeneratorCallback>
A function that schedules updates to the filesystem to be done atomically
Type parameters
Section titled “Type parameters”| Name | Type |
|---|---|
T | unknown |
Type declaration
Section titled “Type declaration”▸ (tree, schema): void | GeneratorCallback | Promise<void | GeneratorCallback>
Parameters
Section titled “Parameters”| Name | Type |
|---|---|
tree | any |
schema | T |
Returns
Section titled “Returns”void | GeneratorCallback | Promise<void | GeneratorCallback>