mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
21 lines
No EOL
287 B
PHP
21 lines
No EOL
287 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Yggverse\Yoda\Interface\Model;
|
|
|
|
/*
|
|
* Shared memory API for async operations
|
|
*
|
|
*/
|
|
interface Buffer
|
|
{
|
|
public function get(
|
|
string $key
|
|
): mixed;
|
|
|
|
public function set(
|
|
string $key,
|
|
mixed $value
|
|
): void;
|
|
} |