Skip to main content
Link
Search
Menu
Expand
Document
(external link)
effect
Introduction
@effect/cli
Args.ts
AutoCorrect.ts
BuiltInOptions.ts
CliApp.ts
CliConfig.ts
Command.ts
CommandDescriptor.ts
CommandDirective.ts
ConfigFile.ts
HelpDoc.ts
HelpDoc/Span.ts
index.ts
Options.ts
Primitive.ts
Prompt.ts
Usage.ts
ValidationError.ts
@effect/cluster
AtLeastOnce.ts
AtLeastOnceStorage.ts
Broadcaster.ts
index.ts
ManagerConfig.ts
Message.ts
MessageState.ts
Messenger.ts
Pod.ts
PodAddress.ts
Pods.ts
PodsHealth.ts
PoisonPill.ts
RecipientAddress.ts
RecipientBehaviour.ts
RecipientBehaviourContext.ts
RecipientType.ts
Serialization.ts
SerializedEnvelope.ts
SerializedMessage.ts
ShardId.ts
Sharding.ts
ShardingConfig.ts
ShardingEvent.ts
ShardingException.ts
ShardingRegistrationEvent.ts
ShardManager.ts
ShardManagerClient.ts
Storage.ts
@effect/cluster-browser
index.ts
RpcBroadcastChannel.ts
@effect/cluster-node
index.ts
PodsRpc.ts
ShardingProtocol.ts
ShardingServiceRpc.ts
ShardManagerClientRpc.ts
ShardManagerProtocol.ts
ShardManagerServiceRpc.ts
StorageFile.ts
@effect/cluster-workflow
Activity.ts
ActivityContext.ts
CrashableRuntime.ts
DurableExecutionEvent.ts
DurableExecutionJournal.ts
DurableExecutionJournalInMemory.ts
index.ts
Workflow.ts
WorkflowContext.ts
WorkflowEngine.ts
WorkflowRuntime.ts
WorkflowRuntimeMessage.ts
WorkflowRuntimeState.ts
effect
Arbitrary.ts
Array.ts
BigDecimal.ts
BigInt.ts
Boolean.ts
Brand.ts
Cache.ts
Cause.ts
Channel.ts
ChildExecutorDecision.ts
Chunk.ts
Clock.ts
Config.ts
ConfigError.ts
ConfigProvider.ts
ConfigProviderPathPatch.ts
Console.ts
Context.ts
Cron.ts
Data.ts
DateTime.ts
DefaultServices.ts
Deferred.ts
Differ.ts
Duration.ts
Effect.ts
Effectable.ts
Either.ts
Encoding.ts
Equal.ts
Equivalence.ts
ExecutionStrategy.ts
Exit.ts
FastCheck.ts
Fiber.ts
FiberHandle.ts
FiberId.ts
FiberMap.ts
FiberRef.ts
FiberRefs.ts
FiberRefsPatch.ts
FiberSet.ts
FiberStatus.ts
Function.ts
GlobalValue.ts
GroupBy.ts
Hash.ts
HashMap.ts
HashSet.ts
HKT.ts
index.ts
Inspectable.ts
Iterable.ts
JSONSchema.ts
KeyedPool.ts
Layer.ts
List.ts
Logger.ts
LogLevel.ts
LogSpan.ts
Mailbox.ts
ManagedRuntime.ts
Match.ts
MergeDecision.ts
MergeState.ts
MergeStrategy.ts
Metric.ts
MetricBoundaries.ts
MetricHook.ts
MetricKey.ts
MetricKeyType.ts
MetricLabel.ts
MetricPair.ts
MetricPolling.ts
MetricRegistry.ts
MetricState.ts
Micro.ts
ModuleVersion.ts
MutableHashMap.ts
MutableHashSet.ts
MutableList.ts
MutableQueue.ts
MutableRef.ts
NonEmptyIterable.ts
Number.ts
Option.ts
Order.ts
Ordering.ts
ParseResult.ts
Pipeable.ts
Pool.ts
Predicate.ts
Pretty.ts
PrimaryKey.ts
PubSub.ts
Queue.ts
Random.ts
RateLimiter.ts
RcMap.ts
RcRef.ts
Readable.ts
Record.ts
Redacted.ts
RedBlackTree.ts
Ref.ts
RegExp.ts
Reloadable.ts
Request.ts
RequestBlock.ts
RequestResolver.ts
Resource.ts
Runtime.ts
RuntimeFlags.ts
RuntimeFlagsPatch.ts
Schedule.ts
ScheduleDecision.ts
ScheduleInterval.ts
ScheduleIntervals.ts
Scheduler.ts
Schema.ts
SchemaAST.ts
Scope.ts
ScopedCache.ts
ScopedRef.ts
SingleProducerAsyncInput.ts
Sink.ts
SortedMap.ts
SortedSet.ts
STM.ts
Stream.ts
Streamable.ts
StreamEmit.ts
StreamHaltStrategy.ts
String.ts
Struct.ts
Subscribable.ts
SubscriptionRef.ts
Supervisor.ts
Symbol.ts
SynchronizedRef.ts
Take.ts
TArray.ts
TDeferred.ts
TestAnnotation.ts
TestAnnotationMap.ts
TestAnnotations.ts
TestClock.ts
TestConfig.ts
TestContext.ts
TestLive.ts
TestServices.ts
TestSized.ts
TMap.ts
TPriorityQueue.ts
TPubSub.ts
TQueue.ts
Tracer.ts
TRandom.ts
TReentrantLock.ts
TRef.ts
Trie.ts
TSemaphore.ts
TSet.ts
TSubscriptionRef.ts
Tuple.ts
Types.ts
Unify.ts
UpstreamPullRequest.ts
UpstreamPullStrategy.ts
Utils.ts
@effect/experimental
ChannelSchema.ts
DevTools.ts
DevTools/Client.ts
DevTools/Domain.ts
DevTools/Server.ts
index.ts
Machine.ts
Machine/Procedure.ts
Machine/ProcedureList.ts
Machine/SerializableProcedureList.ts
MsgPack.ts
Ndjson.ts
PersistedCache.ts
Persistence.ts
Persistence/Lmdb.ts
Persistence/Redis.ts
Reactivity.ts
RequestResolver.ts
SocketServer.ts
SocketServer/Node.ts
Sse.ts
VariantSchema.ts
@effect/opentelemetry
index.ts
Metrics.ts
NodeSdk.ts
Resource.ts
Tracer.ts
WebSdk.ts
@effect/platform
Command.ts
CommandExecutor.ts
Cookies.ts
Effectify.ts
Error.ts
Etag.ts
FetchHttpClient.ts
FileSystem.ts
Headers.ts
HttpApi.ts
HttpApiBuilder.ts
HttpApiClient.ts
HttpApiEndpoint.ts
HttpApiError.ts
HttpApiGroup.ts
HttpApiMiddleware.ts
HttpApiScalar.ts
HttpApiSchema.ts
HttpApiSecurity.ts
HttpApiSwagger.ts
HttpApp.ts
HttpBody.ts
HttpClient.ts
HttpClientError.ts
HttpClientRequest.ts
HttpClientResponse.ts
HttpIncomingMessage.ts
HttpMethod.ts
HttpMiddleware.ts
HttpMultiplex.ts
HttpPlatform.ts
HttpRouter.ts
HttpServer.ts
HttpServerError.ts
HttpServerRequest.ts
HttpServerRespondable.ts
HttpServerResponse.ts
HttpTraceContext.ts
index.ts
KeyValueStore.ts
Multipart.ts
OpenApi.ts
OpenApiJsonSchema.ts
Path.ts
PlatformConfigProvider.ts
PlatformLogger.ts
Runtime.ts
Socket.ts
Template.ts
Terminal.ts
Transferable.ts
UrlParams.ts
Worker.ts
WorkerError.ts
WorkerRunner.ts
@effect/platform-browser
BrowserHttpClient.ts
BrowserKeyValueStore.ts
BrowserRuntime.ts
BrowserSocket.ts
BrowserStream.ts
BrowserWorker.ts
BrowserWorkerRunner.ts
Clipboard.ts
Geolocation.ts
index.ts
Permissions.ts
@effect/platform-bun
BunCommandExecutor.ts
BunContext.ts
BunFileSystem.ts
BunFileSystem/ParcelWatcher.ts
BunHttpPlatform.ts
BunHttpServer.ts
BunHttpServerRequest.ts
BunKeyValueStore.ts
BunMultipart.ts
BunPath.ts
BunRuntime.ts
BunSink.ts
BunSocket.ts
BunStream.ts
BunTerminal.ts
BunWorker.ts
BunWorkerRunner.ts
index.ts
@effect/platform-node
index.ts
NodeCommandExecutor.ts
NodeContext.ts
NodeFileSystem.ts
NodeFileSystem/ParcelWatcher.ts
NodeHttpClient.ts
NodeHttpPlatform.ts
NodeHttpServer.ts
NodeHttpServerRequest.ts
NodeKeyValueStore.ts
NodeMultipart.ts
NodePath.ts
NodeRuntime.ts
NodeSink.ts
NodeSocket.ts
NodeStream.ts
NodeTerminal.ts
NodeWorker.ts
NodeWorkerRunner.ts
@effect/platform-node-shared
NodeCommandExecutor.ts
NodeFileSystem.ts
NodeFileSystem/ParcelWatcher.ts
NodeKeyValueStore.ts
NodeMultipart.ts
NodePath.ts
NodeRuntime.ts
NodeSink.ts
NodeSocket.ts
NodeStream.ts
NodeTerminal.ts
@effect/printer
Doc.ts
DocStream.ts
DocTree.ts
Flatten.ts
index.ts
Layout.ts
Optimize.ts
PageWidth.ts
@effect/printer-ansi
Ansi.ts
AnsiDoc.ts
Color.ts
index.ts
@effect/rpc
index.ts
Rpc.ts
RpcResolver.ts
RpcResolverNoStream.ts
RpcRouter.ts
@effect/rpc-http
HttpRpcResolver.ts
HttpRpcResolverNoStream.ts
HttpRpcRouter.ts
HttpRpcRouterNoStream.ts
index.ts
@effect/sql
index.ts
Migrator.ts
Migrator/FileSystem.ts
Model.ts
SqlClient.ts
SqlConnection.ts
SqlError.ts
SqlResolver.ts
SqlSchema.ts
SqlStream.ts
Statement.ts
@effect/sql-clickhouse
ClickhouseClient.ts
ClickhouseMigrator.ts
index.ts
@effect/sql-d1
D1Client.ts
index.ts
@effect/sql-drizzle
Mysql.ts
Pg.ts
Sqlite.ts
@effect/sql-kysely
Kysely.ts
Mssql.ts
Mysql.ts
patch.types.ts
Pg.ts
Sqlite.ts
@effect/sql-libsql
index.ts
LibsqlClient.ts
LibsqlMigrator.ts
@effect/sql-mssql
index.ts
MssqlClient.ts
MssqlMigrator.ts
Parameter.ts
Procedure.ts
@effect/sql-mysql2
index.ts
MysqlClient.ts
MysqlMigrator.ts
@effect/sql-pg
index.ts
PgClient.ts
PgMigrator.ts
@effect/sql-sqlite-bun
index.ts
SqliteClient.ts
SqliteMigrator.ts
@effect/sql-sqlite-node
index.ts
SqliteClient.ts
SqliteMigrator.ts
@effect/sql-sqlite-react-native
index.ts
SqliteClient.ts
SqliteMigrator.ts
@effect/sql-sqlite-wasm
index.ts
OpfsWorker.ts
sqlite-wasm.d.ts
SqliteClient.ts
SqliteMigrator.ts
@effect/typeclass
Alternative.ts
Applicative.ts
Bicovariant.ts
Bounded.ts
Chainable.ts
Contravariant.ts
Coproduct.ts
Covariant.ts
data/Array.ts
data/BigInt.ts
data/Boolean.ts
data/Duration.ts
data/Effect.ts
data/Either.ts
data/Identity.ts
data/Micro.ts
data/Number.ts
data/Option.ts
data/Ordering.ts
data/Predicate.ts
data/Record.ts
data/String.ts
data/Tuple.ts
Filterable.ts
FlatMap.ts
Foldable.ts
index.ts
Invariant.ts
Monad.ts
Monoid.ts
Of.ts
Pointed.ts
Product.ts
SemiAlternative.ts
SemiApplicative.ts
SemiCoproduct.ts
Semigroup.ts
SemiProduct.ts
Traversable.ts
TraversableFilterable.ts
@effect/vitest
index.ts
GitHub
@effect/platform-node-shared
NodeFileSystem.ts
NodeFileSystem overview
Added in v1.0.0
Table of contents
layer
layer
layer
layer
Signature
export
declare
const
layer
:
Layer
<
FileSystem
>
Added in v1.0.0