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

  • SEARCH
  • Home
  • 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 8119823
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:55:19+00:00 2026-06-06T04:55:19+00:00

I notice the Mailbox type is encapsulated and can only be used through the

  • 0

I notice the Mailbox type is encapsulated and can only be used through the use of the MailboxProcessor.

It implies that to have an agent to which I can post messages, I’m forced to have a single Mailbox of a single type (or use the existing MailboxProcessor in an exotic way).

Should I understand that having multiple Mailbox for a single workflow would inherently result in a bad design? The Ccr clearly gives you that level of freedom.

Edit:
As Daniel pointed out, if one wants to send multiple message types, DUs elegantly solves the problem – and it’s not like I haven’t done that in the past.

But the question is, isn’t doing that a code smell? Wouldn’t adding more types of messages sent to an agent over time lead you into have too many responsibilities? I sometimes think it would be important to always encapsulate the message types the agent consumes behind an interface such that this information is never exposed.

  • 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-06-06T04:55:21+00:00Added an answer on June 6, 2026 at 4:55 am

    I think I may have found what I was looking for. I have listened to Rich Hickey’s talk (Are we there yet) at least 5 times and I believe his approach solves many of the design concerns I had. Obviously this can be implemented with either F# Mailboxes or CAS references.

    I really recommend it and would be happy to hear some feedback.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I notice that avisynth can accept as input a live directshow source only through
I notice that if you have a private member in a class, you can
I notice in several API's, that you may create a struct which is used
Notice: You have an error in your SQL syntax; check the manual that corresponds
I notice that in iOS5 we can custom UIKit control by UIAppearance and I
I notice that most people use the words HTML tags and HTML elements interchangeably.
Notice, this is a remote server, I don't have access to it, only to
I notice that everytime I switch gemsets I have to run bundle install. I
Notice this app: How can I draw that sort of triangle above an existing
I notice that the mem usage of the processes which google chrome task manager

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.