mirror of
https://github.com/danog/psalm.git
synced 2024-12-15 10:57:08 +01:00
da42be175f
Fixes #1880
18 lines
363 B
PHP
18 lines
363 B
PHP
<?php
|
|
declare(strict_types = 1);
|
|
namespace Psalm\Internal\LanguageServer;
|
|
|
|
use Amp\Promise;
|
|
|
|
interface ProtocolWriter
|
|
{
|
|
/**
|
|
* Sends a Message to the client
|
|
*
|
|
* @param Message $msg
|
|
*
|
|
* @return Promise Resolved when the message has been fully written out to the output stream
|
|
*/
|
|
public function write(Message $msg): Promise;
|
|
}
|