RouteCapability<T extends Object> constructor

RouteCapability<T extends Object>(
  1. String name
)

Creates a capability key with a diagnostic name.

Capabilities use instance identity. Keep one key and reuse that exact instance when attaching and reading a value.

Implementation

RouteCapability(this.name);