microsoft / microsoft/vs-streamjsonrpc

Support for passing delegates as arguments over RPC

Open
#587 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
937
Forks
178
Avg merge
3d 1h
Merged PRs (30d)
28

Description

@tmat brought up a scenario where they would find it very useful if StreamJsonRpc supported passing delegates as arguments over JSON-RPC.

We already support passing IProgress<T> (and other exotic types) which effectively provides a callback target that is very unique to a particular RPC call. Passing a raw delegate just makes it that much easier and gives a more native .NET feel.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading doc/exotic_types.md and the existing support for IProgress described in the issue. Define how raw delegates should be passed as arguments over JSON-RPC, including the expected callback target behavior, then verify that the design supports the stated scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.