register abstract method

Future<bool> register(
  1. TomStorageLocation location
)

Registers location, replacing whatever was held for its locator.

Returns whether it was persisted. False is not an error the caller must handle — the location is registered for this session either way — but "in effect now, gone at restart" is a different promise from "saved", and only the caller that has somewhere to say so should say it.

Implementation

Future<bool> register(TomStorageLocation location);