create

suspend fun create(name: String = "bulkhead", config: BulkheadConfig = BulkheadConfig()): ThreadPoolBulkhead

Creates a ThreadPoolBulkhead with its own daemon thread pool.

Parameters

name

thread-name prefix

config

permit/queue limits; pool size is maxConcurrentCalls