getOrCreate

suspend fun getOrCreate(name: String, configure: BulkheadConfigBuilder.() -> Unit = {}): Bulkhead(source)

Gets or creates a bulkhead with the given name.

Return

the existing or newly created bulkhead

Parameters

name

unique identifier for the bulkhead

configure

optional configuration block