Resolves HSM key references off the event loop, so a later synchronous hsmKeyOf() finds them held. Never rejects: a reference that cannot be resolved here is resolved (and refused, with its code) at its first use.
hsmKeyOf()
reference texts (hsmRefsIn())
hsmRefsIn()
a promise of how many were resolved
Resolves HSM key references off the event loop, so a later synchronous
hsmKeyOf()finds them held. Never rejects: a reference that cannot be resolved here is resolved (and refused, with its code) at its first use.