Skip to content
actor-ts
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
English
English
Deutsch
Español
Français
日本語
한국어
Português (BR)
Русский
简体中文
🚀 Get Started
What is actor-ts?
Why actors?
Installation
Quickstart
Learning path
Glossary
🎭 Build Actors
Fundamentals
Overview
Actor
Messages
Ask pattern
ActorSystem
Actor paths
Spawning actors
Become and stash
Death watch
Supervision
Dispatchers
Mailboxes
Timers and scheduling
Receive timeout
Coordinated shutdown
Event stream
Logging
PoisonPill and Kill
Pattern matching
Typed actors
Overview
TypedActor
Behaviors
Spawning typed
Routing
Overview
Router
Strategies
Scatter/gather
Pool vs group
Patterns
Circuit breaker
Backoff supervisor
Backoff policy
Retry
Future patterns
🌐 Distribute
Cluster
Overview
Joining and seeds
Cluster bootstrap
Failure detector
Downing strategies
Transports
Weakly-up
Refs across nodes
Distributed PubSub
Singleton
Overview
Manager
With lease
Sharding
Overview
Introspection
Allocation strategy
Rebalance
Remember entities
With lease
Sharded daemon
Cluster router
Cluster client
Cluster security
Worker mesh
Distributed Data
Overview
CRDT types
Counters
Registers
Sets
Maps
Designing data
Replication
Quorum reads/writes
Durable storage
Coordination
Overview
Lease API
In-memory lease
Kubernetes lease
Discovery
Overview
Seed providers
Config
DNS
Kubernetes API
Aggregate
Receptionist
💾 Persist
Event sourcing
Overview
PersistentActor
Event dispatcher
Snapshots
Durable state
Projections
Persistence query
Push-based query
Journals
In-memory
SQLite
Cassandra
PostgreSQL
MariaDB
libSQL / Turso
SQL Server
Cloudflare D1
DynamoDB
MongoDB
Wire-compatible databases
Snapshot stores
In-memory
SQLite
Cassandra
Cached snapshot store
Replicated event sourcing
Overview
Single-writer lease
Vector clocks
Conflict resolver
Snapshotting
Object storage
Overview
Compression
Encryption
Key rotation
Per-actor policies
Snapshot store backend
Migration
Overview
Recipes
Schema registry
Envelope format
Defaults adapter
Migrating adapter
Wrap legacy
FSM
Overview
In-memory FSM
Persistent FSM
Delivery
Overview
Producer controller
Consumer controller
Ack semantics
🔌 Integrate
IO (brokers)
Overview
BrokerActor base
Kafka
MQTT
AMQP
NATS
NATS JetStream
JetStream KV + Object Store
Redis Streams
gRPC
SSE
WebSocket client
TCP
UDP
Email bridge
HTTP
Overview
Route DSL
WebSocket server
Marshalling
Error handling
HTML & XSS
Static files
Backends
Fastify
Express
Hono
Middleware
Response cache
Rate limit
Idempotency key
CORS
CSRF
Security headers
CSP
Basic auth
Bearer token
IP allowlist
Request ID
Timeout
Security
Cache
Overview
In-memory
Memcached
Redis
Serialization
Overview
JSON
CBOR
Custom serializers
📊 Observe
Overview
Metrics
Core metrics
Prometheus exporter
prom-client adapter
Stock metrics
Logging
Multi-sink logging
File sink
Platform integrations
Tracing
Tracer API
OTel adapter
Recording tracer
Actor tracing
Management
Overview
Health checks
HTTP endpoints
DevTools
Overview
Actors & cluster
Tracing panel
Explain plan
Time travel
Profiler
Send message
Configuration
Event stream
Dead letters
Tap protocol
✅ Test
Overview
TestKit
TestProbe
ManualScheduler
MultiNodeSpec
ParallelMultiNodeSpec
Diagnosing flakes
⚙️ Operate
Overview
Deployment
Kubernetes
Docker Compose
Process manager
Tuning
Gossip cadence
Failure detector
Mailbox sizing
Dispatcher tuning
Security
Cluster security
Master key rotation
TLS everywhere
Supply chain
Upgrades
Rolling migration
Upgrade strategies
Dead letters
Troubleshooting
Runtime
Overview
Compatibility matrix
Bun
Node
Deno
💡 Examples
Overview
Chat sample
Voice sample
Stand-alone snippets
🚚 Migration
Overview
From Akka (JVM)
From Pekko
From Orleans
From Akka.NET
From vanilla TS
📖 Reference
Configuration
Full reference.conf
Utilities
Version policy
Benchmarks
FAQ
Glossary
🧰 API Reference
Enumerations
Directive
LogLevel
Classes
Actor
ActorInitializationError
ActorKilledError
ActorLifecycleEvent
ActorOptionsBuilder
ActorOptionsValidator
ActorPath
ActorRef
ActorRestarted
ActorSelection
ActorStarted
ActorStopped
ActorSystem
ActorSystemOptionsBuilder
ActorSystemTerminateReason
AllForOneStrategy
AskTimeoutError
BackoffSupervisor
BidirectionalMap
BidirectionalMultiMap
BoundedMailbox
BoundedMailboxOptionsBuilder
BoundedMailboxOptionsValidator
Broadcast
CircuitBreaker
CircuitBreakerOpenError
CircuitBreakerOptionsBuilder
CircuitBreakerTimeoutError
ClusterDowningReason
ClusterLeavingReason
Config
ConfigError
ConsoleLogger
CoordinatedShutdown
DeadLetter
DeadLetterQueue
DeadLetterQueueOptionsBuilder
DeadLetterQueueOptionsValidator
DeathPactError
DispatcherError
DroppingMailbox
EventKey
EventStream
Extensions
Failure
HybridDispatcher
ImmediateDispatcher
JsonLogger
Kill
Lazy
Left
Mailbox
MailboxFullError
MicrotaskDispatcher
NobodyRef
None
NoopLogger
OneForOneStrategy
OptionsBuilder
OptionsError
OptionsValidator
PoisonPill
PriorityMailbox
PriorityMailboxOptionsBuilder
PriorityMailboxOptionsValidator
ProcessTerminateReason
Reason
ReceiveTimeout
RestartBudget
Right
RingBuffer
ScatterGatherOptionsBuilder
ScatterGatherOptionsValidator
Scheduler
SchedulerError
Some
StashOutsideHandlerError
StashOverflowError
Success
Terminated
ThroughputDispatcher
TypedActor
UnknownReason
Interfaces
ActorContext
BackoffPolicy
Cancellable
CancellablePromise
Dispatcher
DropReportingMailbox
ExtensionId
JsonLogSink
Logger
StashBuffer
SuperviseBuilder
TimerScheduler
TypedActorContext
Type Aliases
ActorClassOrFactory
ActorFactory
ActorOptions
ActorOptionsType
ActorSystemOptions
ActorSystemOptionsType
BackoffOptions
Behavior
BehaviorInterceptor
BehaviorInterceptorTarget
BidirectionalMapJson
BidirectionalMultiMapJson
BoundedMailboxOptions
BoundedMailboxOptionsType
BoundedMailboxOverflow
CapturedPayload
CircuitBreakerOptions
CircuitBreakerOptionsType
CircuitState
ConfigObject
ConfigValue
DeadLetterEntry
DeadLetterFilter
DeadLetterPayload
DeadLetterQueueOptions
DeadLetterQueueOptionsType
DeadLetterReplayResult
DeadLetterStore
Decider
DegradedPayload
DegradedPayloadResult
DispatcherErrorSink
Either
EmptyBehavior
EntityContext
Envelope
EventChannel
EventClass
ExistsPredicate
ExponentialBackoffOptions
Extension
ForwardStrategy
IgnoreBehavior
InterceptBehavior
KindOf
LazyImportOptions
LinearBackoffOptions
LoadOptions
LogContextData
LogContextEntry
LogMessagesOptions
MailboxDropObserver
MailboxDropReason
MailboxFactory
Option
PhaseDefinition
PipeToOptions
PriorityFunction
PriorityMailboxOptions
PriorityMailboxOptionsType
PriorityMailboxOverflow
ProcessSignal
QuarantinedResult
RandomStringOptions
Receive
ReceiveBehavior
ReplayedResult
ResetCounter
RetryOptions
RouterState
RoutingStrategy
SameBehavior
ScatterGatherOptions
ScatterGatherOptionsType
SchedulerErrorSink
SetupBehavior
ShutdownTask
Signal
StoppedBehavior
StrategyOptions
SuperviseBehavior
SupervisorStrategy
Try
UnhandledBehavior
UnknownEntryResult
UnresolvedRecipientResult
WithStashBehavior
WithTimersBehavior
Variables
ActorOptions
ActorSystemOptions
Behaviors
BoundedMailboxOptions
CircuitBreakerOptions
CoordinatedShutdownId
DEAD_LETTER_STORES
DeadLetterQueueOptions
DEFAULT_DEAD_LETTER_MAX_ENTRIES
DEFAULT_DEAD_LETTER_MAX_REPLAYS
DEFAULT_DEAD_LETTER_RETENTION_MS
DEFAULT_DEAD_LETTER_STORE
defaultStrategy
Dispatchers
DISPLAY_NAME_FIELD
escalatingStrategy
lazy
LogContext
Nobody
none
Phases
PriorityMailboxOptions
REFERENCE_CONF
Router
ScatterGatherOptions
stoppingStrategy
Functions
after
broadcastStrategy
decideBy
deepMerge
defaultDeadLetterPersistenceId
eitherOf
eitherSequence
empty
exponentialBackoff
extensionId
failure
firstSome
fromNullable
fromPredicate
gracefulStop
ignore
lazyImportModule
left
linearBackoff
parseDuration
parseHocon
parseSelectionPath
parseSize
pipeTo
randomHex
randomId
randomStrategy
randomString
randomUuid
redactedUrlLabel
redactUrlCredentials
resolveSubstitutions
retry
right
roundRobinStrategy
safeStringify
same
smallestMailboxStrategy
some
stopped
success
tryOf
trySequence
typedActor
unhandled
🎁 Extras
Design decisions
Architecture Decision Records
GitHub
Select theme
Dark
Light
Auto
English
English
Deutsch
Español
Français
日本語
한국어
Português (BR)
Русский
简体中文
parseHocon
parseHocon
(
source
):
ConfigObject
Defined in:
src/config/HoconParser.ts:65
Parameters
Section titled “Parameters”
source
Section titled “source”
string
Returns
Section titled “Returns”
ConfigObject