Confirmed users
483
edits
(s/connectionsRegistered/getConnections) |
|||
| Line 17: | Line 17: | ||
// of them representing a connection with a peer through a specific | // of them representing a connection with a peer through a specific | ||
// keyword. | // keyword. | ||
Promise | Promise getConnections(); | ||
}; | }; | ||
| Line 100: | Line 100: | ||
}; | }; | ||
''Connection'' objects will be obtained within a resolved ''Promise'' returned by a '' | ''Connection'' objects will be obtained within a resolved ''Promise'' returned by a ''getConnections()'' call. This function is likely going to be called by a settings application that intends to show the user a list of existing connections, allowing her to cancel them if needed. | ||
= Defer mechanism = | = Defer mechanism = | ||