refactor connection

This commit is contained in:
prolic 2018-06-28 21:20:22 +08:00
parent 860fe1144c
commit 190e8c1329
No known key found for this signature in database
GPG Key ID: 29722F9F48E9DE59

View File

@ -5,6 +5,8 @@ namespace Amp\Sql;
use Amp\Promise; use Amp\Promise;
interface Connection extends Link { interface Connection extends Link {
public function connect(): Promise;
/** /**
* @return bool False if the connection has been closed. * @return bool False if the connection has been closed.
*/ */