Get a single capability from the capability manager, if one is contributed. Never fails — use this over get when the capability's absence (e.g. an optional plugin isn't loaded) is a legitimate case to handle rather than an error.
The interface definition of the capability.
The first capability implementation, or Option.none() if none is contributed.
Option.none()
Get a single capability from the capability manager, if one is contributed. Never fails — use this over get when the capability's absence (e.g. an optional plugin isn't loaded) is a legitimate case to handle rather than an error.