Type alias: Generator<T>
Ƭ 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
Name | Type |
---|---|
T | unknown |
Type declaration
▸ (tree
, schema
): void
| GeneratorCallback
| Promise
<void
| GeneratorCallback
>
Parameters
Name | Type |
---|---|
tree | any |
schema | T |
Returns
void
| GeneratorCallback
| Promise
<void
| GeneratorCallback
>