OnBeforeConnect
The OnBeforeConnect type is a callback function that is called before a connection is
created. It can prevent the connection or modify it by returning false or a modified
connection.
type OnBeforeConnect = (
connection: Connection,
) => false | void | null | EdgeType | Connection;| Name | Type | Default |
|---|---|---|
connection | Connection |
false | void | EdgeType | Connection | nullLast updated on