1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-15 19:07:00 +01:00
psalm/src/Psalm/Internal/LanguageServer/ProtocolWriter.php

18 lines
363 B
PHP
Raw Normal View History

<?php
declare(strict_types = 1);
2018-11-06 03:57:36 +01:00
namespace Psalm\Internal\LanguageServer;
use Amp\Promise;
interface ProtocolWriter
{
/**
* Sends a Message to the client
*
* @param Message $msg
2019-07-05 22:24:00 +02:00
*
* @return Promise Resolved when the message has been fully written out to the output stream
*/
public function write(Message $msg): Promise;
}