1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-09 22:49:31 +01:00
psalm/src/Psalm/Internal/LanguageServer/ProtocolWriter.php
2021-12-15 04:42:37 +01:00

19 lines
336 B
PHP

<?php
declare(strict_types=1);
namespace Psalm\Internal\LanguageServer;
use Amp\Promise;
interface ProtocolWriter
{
/**
* Sends a Message to the client
*
*
* @return Promise Resolved when the message has been fully written out to the output stream
*/
public function write(Message $msg): Promise;
}