Skip to content

local echo (4.5/n): Prep for creating outbox messages on send #1509

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

PIG208
Copy link
Member

@PIG208 PIG208 commented May 10, 2025

This prepares for #1472.

Requested by @chrisbobbe here.

PIG208 added 4 commits May 9, 2025 21:48
The point of this helper is to replicate what a topic sent from the
client will become, after being processed by the server.

This important when trying to create a local copy of a stream message,
whose topic can get translated when it's delivered by the server.
This will be the same as `DateTime.timestamp()` in live code (therefore
the NFC). For testing, utcNow uses a clock instance that can be controlled
by FakeAsync.

We could have made call sites of `DateTime.now()` use it too, but
those for now don't need it for testing.
@PIG208 PIG208 requested a review from gnprice May 10, 2025 02:24
@PIG208 PIG208 added the integration review Added by maintainers when PR may be ready for integration label May 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration review Added by maintainers when PR may be ready for integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants