Update if not already updated. Return existing value, or newValue if not existing.
Delete a value and reject an outstanding reserved promise (if any).
Look up the newAdmin
from the path of keys starting from the current
NameAdmin. Wait on any reserved promises.
Set a function to be called whenever an update or deletion is made, with all the entries as of that point.
Note: can be called at most once.
Optional
reserved: string[]get the NameHub corresponding to the current NameAdmin
Mark a key as reserved; will return a promise that is fulfilled when the key is updated (or rejected when deleted). If the key was already set it does nothing.
Update only if already initialized. Reject if not.
Optional
newAdmin: NameAdminFulfill an outstanding reserved promise (if any) to the newValue and set the key to the newValue. If newAdmin is provided, set that to return via lookupAdmin.
Optional
newAdmin: NameAdmin
write access to a node in a name hierarchy