ResiliencePlugin(options?: ResiliencePluginOptions): IPlugin
Creates a resilience plugin.
The plugin is pure and stateless at the plugin level: it holds no timers,
connections, or global state, so it registers no health indicator and no
onClose hook. Per-wrap breaker/bulkhead state lives in the returned
closures and is garbage-collected with them.
optional
options: ResiliencePluginOptions
Default policies for true-valued wrap fields