Skip to content
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

feat: Event sender engine #88

Merged
merged 8 commits into from
Apr 12, 2024
Merged

feat: Event sender engine #88

merged 8 commits into from
Apr 12, 2024

Conversation

vahidlazio
Copy link
Contributor

No description provided.

@vahidlazio vahidlazio force-pushed the event-sender-engine branch from a2d0abd to 00c233a Compare April 10, 2024 13:29
@vahidlazio vahidlazio force-pushed the event-sender-engine branch 6 times, most recently from 76bff37 to 5269c87 Compare April 10, 2024 14:19
@vahidlazio vahidlazio force-pushed the event-sender-engine branch from 5269c87 to feaaa71 Compare April 10, 2024 14:25
@vahidlazio vahidlazio marked this pull request as ready for review April 10, 2024 14:34

}

final class EventSenderEngineTest: XCTestCase {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was thinking about test cases and what do you think about something pseudo like this:

// given that engine is initialized with storage that contains 3 events to be uploaded

// when no "sends" happen (in some specific time?)

// expect the 3 events to be uploaded

We don't have support for this yet but I think we need it (on both android and ios).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you mean introducing flush intervals?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes 👍 but for later.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ticket is created here

@vahidlazio vahidlazio merged commit b223804 into main Apr 12, 2024
3 checks passed
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