register
Attempts to register the value with the given descriptor.
If the descriptor isn't present, it will return a failed Result. If the descriptor is already registered, it will return a failed Result. If the loadable fails to load the value, it will return a failed Result and will remain unregistered.
Return
A Result containing the value if it was successfully registered, or an error if it was not.
Parameters
descriptor
The descriptor to register the value with.