create

suspend fun create(config: BulkheadConfig = BulkheadConfig(), clock: Clock = kotlin.time.Clock.System): Bulkhead(source)

Creates a new Bulkhead instance with the given configuration.

Return

a new Bulkhead instance

Parameters

config

bulkhead configuration

clock

clock used for timing (defaults to system clock)