1
0
mirror of https://github.com/danog/postgres.git synced 2024-12-13 09:57:32 +01:00
postgres/lib/Operation.php

11 lines
236 B
PHP
Raw Normal View History

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