mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
rename buffer to pool
This commit is contained in:
parent
7212e44314
commit
4eeb7b3971
3 changed files with 36 additions and 32 deletions
21
src/Interface/Model/Pool.php
Normal file
21
src/Interface/Model/Pool.php
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Yggverse\Yoda\Interface\Model;
|
||||
|
||||
/*
|
||||
* Shared memory API for async operations
|
||||
*
|
||||
*/
|
||||
interface Pool
|
||||
{
|
||||
public function get(
|
||||
string $key
|
||||
): mixed;
|
||||
|
||||
public function set(
|
||||
string $key,
|
||||
mixed $value
|
||||
): void;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue