Function: useConnection ​
â–¸ useConnection(): Object
Composable for accessing the currently ongoing connection.
Returns ​
Object
current connection: startHandle, endHandle, status, position
Name | Type |
---|---|
endHandle | Ref <null | ConnectingHandle > |
position | Ref <XYPosition > |
startHandle | Ref <null | ConnectingHandle > |
status | Ref <null | ConnectionStatus > |