getOrAdd abstract method

TOptions getOrAdd(
  1. String? name,
  2. CreateOptions<TOptions> createOptions
)

Gets a named options instance, or adds a new instance created with createOptions.

Implementation

TOptions getOrAdd(String? name, CreateOptions<TOptions> createOptions);