1
0
mirror of https://github.com/danog/postgres.git synced 2025-01-22 05:11:14 +01:00
postgres/lib/Operation.php

11 lines
236 B
PHP
Raw Normal View History

2016-12-29 23:21:17 -06:00
<?php
2016-09-14 09:27:39 -05:00
namespace Amp\Postgres;
interface Operation {
/**
* @param callable $onDestruct Callback executed when the operation completes or the object is destroyed.
2016-09-14 09:27:39 -05:00
*/
public function onDestruct(callable $onDestruct);
2016-09-14 09:27:39 -05:00
}