hashicorp / hashicorp/serf

Add option to wait for output of user event

Open
#506 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
6.1k
Forks
609
Avg merge
15h 1m
Merged PRs (30d)
3

Description

This is just a simple feature request but one that I thought would be able to solve a lot of problems for us - the ability to have an optional parameter when sending a user event that will cause the client to pause until the event has fully processed and then return the output.

This obviously wouldn't be appropriate for all use cases but at the moment people are hacking together weird handlers for long running processes and it could be solved with an option in serf itself.

Contributor guide

Open the contributing guide

Research direction

The issue does not name files, tests, or an entry point. Start by tracing how Serf sends user events and how clients receive event results, then clarify the waiting semantics, timeout behavior, and output contract. Done means an optional request setting can wait for processing and return its output without changing existing asynchronous use cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.