| Parameter | Description |
|---|---|
| callback | The callback to invoke when the reference is resolved. |
Registers a callback for when the reference is resolved from the document. When you register a callback, if the reference is already resolved, the callback is immediately invoked.