declaring
Reads info, then invokes write exactly once before returning.
info is the same instance for every write of one installed declaration, and for its restoring. Read its properties before invoking write. An exception from write propagates.
Parameters
info
the identity scoped to one installed declaration; read its properties before invoking write.
write
the declaration action to invoke exactly once before returning.