Skip to content

feature: lazy initialize RPC#6244

Closed
rgrinberg wants to merge 1 commit intomainfrom
ps/rr/feature__lazy_initialize_rpc
Closed

feature: lazy initialize RPC#6244
rgrinberg wants to merge 1 commit intomainfrom
ps/rr/feature__lazy_initialize_rpc

Conversation

@rgrinberg
Copy link
Copy Markdown
Member

@rgrinberg rgrinberg commented Oct 15, 2022

Add a mechanism to allow the RPC server to initialized lazily. This is needed for the DAP to use dune rpc. When building something without watch mode (and hence without rpc), dynamic actions must first require the RPC server to be turned before proceeding with execution. This PR satisfies adds the API necessary to ensure this via Rpc.ensure_ready

@rgrinberg rgrinberg force-pushed the ps/rr/feature__lazy_initialize_rpc branch from 4855712 to b87f6e2 Compare October 15, 2022 20:15
add a mechanism to allow the RPC server to initialized lazily

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>

ps-id: 4e972216-07ee-404e-9ab8-07b0e0a0ab1d
@rgrinberg rgrinberg force-pushed the ps/rr/feature__lazy_initialize_rpc branch from b87f6e2 to cf7c047 Compare October 23, 2022 23:49
@rgrinberg
Copy link
Copy Markdown
Member Author

Replaced by #6360

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants