Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1024319
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:45:41+00:00 2026-05-16T11:45:41+00:00

I am trying to understand how the following scenario could be implemented using reactive

  • 0

I am trying to understand how the following scenario could be implemented using reactive extensions. Other solutions that I have been looking at involve managing a series of timers… something that I am looking to avoid if possible.

Scenario
A stream of “ActionRequests” occurring. The ActionRequest’s streaming in are from different object sources. I am only interested in picking off the most recent ActionRequest once requests have stopped coming in from a specific source for a period of x seconds

So breaking that down.

  • Events are being continuously received from different object sources.
  • The different object sources are denoted by a guid – see the ActionRequests class
  • After x number of seconds of silence from the object source the latest event is pushed out.
  • The older messages can be discarded once a more recent ActionRequest of interest has been received

    public class ActionRequest
    {
        public ActionRequest(Guid quoteId, DateTime now)
        {
            QuoteId = quoteId;
            RequestTimestamp = now;
        }
    
        public Guid QuoteId { get; set; }
        public DateTime RequestTimestamp { get; set; }
    
    }
    

    Any thoughts on this would be appreciated.

    • 1 1 Answer
    • 0 Views
    • 0 Followers
    • 0
    Share
    • Facebook
    • Report

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Forgot Password?

    Need An Account, Sign Up Here

    1 Answer

    • Voted
    • Oldest
    • Recent
    • Random
    1. Editorial Team
      Editorial Team
      2026-05-16T11:45:42+00:00Added an answer on May 16, 2026 at 11:45 am

      Answer was provided in RX Forums by Richard Hein.

      Short version of the answer is below. A more complete sample has been added to the thread in the RX forums.

      var throttled = observable.GroupBy(tar => tar.Value.QuoteId).SelectMany(g => g.Throttle(TimeSpan.FromMilliseconds(1500)));
      
      • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
        • Report

    Sidebar

    Related Questions

    I have been trying to understand of this following C-program: #include <stdio.h> int arr[]
    I've been trying to understand how Ruby blocks work, and to do that I've
    I am trying to understand the following example, that is similar (but not equal)
    I am trying to understand how the following code ties into two other .java
    I'm trying to improve my coding style. Consider the following scenario: Suppose that I
    I have the following code I am trying to understand: >>> class DistanceFrom(object): def
    I'm trying to understand the concepts of polymorphism and overloading. I have the following
    I'm brand new to SQL and I'm trying to understand the following script. could
    I've been trying to understand why the following code gives me a bad pointer
    Trying to understand an fft (Fast Fourier Transform) routine I'm using (stealing)(recycling) Input is

    Explore

    • Home
    • Add group
    • Groups page
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges
    • Users
    • Help
    • SEARCH

    Footer

    © 2021 The Archive Base. All Rights Reserved
    With Love by The Archive Base

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.