isolated-workers logo
isolated-workers
Getting StartedGuidesExamplesAPI Reference
⌘K
Getting Started
  • Installation
  • Quick Start
  • Building Your First Worker
Concepts
  • Why isolated-workers?
  • Drivers
Guides
  • Error Handling
  • Middleware
  • Timeout Configuration
  • Custom Serializers
  • Worker Lifecycle
  • TypeScript Deep Dive
  • Troubleshooting
  • Testing Workers
  • Security Considerations
Examples
  • Basic Ping-Pong Worker
  • Custom Serializer
  • Error Handling
  • Middleware Pipeline
  • Timeout Configuration
  • Unexpected Worker Shutdown Handling
  • Worker Lifecycle Management
  • Worker Threads Driver
API Reference
  • Configuration
  • Core
  • Drivers
  • Other
  • Serialization
  • Types
Configuration
  • Shutdown Handling
Resources
  • FAQ
  • Contributing
Getting Started
  • Installation
  • Quick Start
  • Building Your First Worker
Concepts
  • Why isolated-workers?
  • Drivers
Guides
  • Error Handling
  • Middleware
  • Timeout Configuration
  • Custom Serializers
  • Worker Lifecycle
  • TypeScript Deep Dive
  • Troubleshooting
  • Testing Workers
  • Security Considerations
Examples
  • Basic Ping-Pong Worker
  • Custom Serializer
  • Error Handling
  • Middleware Pipeline
  • Timeout Configuration
  • Unexpected Worker Shutdown Handling
  • Worker Lifecycle Management
  • Worker Threads Driver
API Reference
  • Configuration
  • Core
  • Drivers
  • Other
  • Serialization
  • Types
Configuration
  • Shutdown Handling
Resources
  • FAQ
  • Contributing
API Reference/UnexpectedShutdownStrategy
type

UnexpectedShutdownStrategy

UnexpectedShutdownStrategy
typescript
type UnexpectedShutdownStrategy = { strategy: "reject" } | { attempts: number; strategy: "retry" }
← Back to UnexpectedShutdownStrategy