Function: createFsScopedWriteGuardBuilder()
ts
function createFsScopedWriteGuardBuilder<TPartition>(partitionMap): FsScopedWriteGuardNode;Defined in: fs/src/builders/create-fs-scoped-write-guard-builder.ts:15
Compiles a passive FsScopedWriteGuardNode (fs:scoped-write) for fs.scopedWrite(partitionMap).
Restricts write mutations strictly to the union of member globs for the actor's activePartitions in partitionMap.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
TPartition extends string | string | Literal union of partition identifiers in partitionMap. |
Parameters
| Parameter | Type | Description |
|---|---|---|
partitionMap | FsPartitionMapNode<TPartition> | Filesystem partition map AST node. |
Returns
Deeply frozen FsScopedWriteGuardNode AST descriptor.