Skip to main content

register_approval_callback

Function
This function is defined in the display_types module.
Register the global approval callback

Signature

def register_approval_callback(callback: Arc<dyn ApprovalCallback>) -> ()

Parameters

callback
Arc<dyn ApprovalCallback>
required
No description available.

Returns

Returns
()
The result of the operation.

Uses

  • write

Source

View on GitHub

praisonai/src/parity/display_types.rs at line 264