Hooks into initialization, possibly manipulating the InitializeResponse. Called after the extension entry point initialize() method, but before the initialize response was sent to the client.
UDA to annotate a request or notification parameter with to supress linting warnings.
Hooks into initialization, possibly manipulating the InitializeResponse. Called after the extension entry point initialize() method, but before the initialize response was sent to the client.
Implements the event processor for a given extension module exposing a members field defining all potential methods.
Called after the @protocolMethod for this method is handled. May have as many handlers registered as needed. When the actual protocol method is a partial method (multiple handlers, returning array) this will be ran on each chunk returned by every handler. In that case the handler will be run multiple times on different fibers.
Called for requests (not notifications) from the client to the server. This UDA must be used at most once per method for regular methods. For methods returning arrays (T[]) it's possible to register multiple functions with the same method. In this case, if the client supports it, partial results will be sent for each returning method, meaning the results are streamed. In case the client does not support partial methods, all results will be concatenated together and returned as one.