Skip to content

Introduce Pf2::Session and hide Schedulers from Ruby code#16

Merged
osyoyu merged 6 commits intomainfrom
session
Mar 24, 2024
Merged

Introduce Pf2::Session and hide Schedulers from Ruby code#16
osyoyu merged 6 commits intomainfrom
session

Conversation

@osyoyu
Copy link
Copy Markdown
Owner

@osyoyu osyoyu commented Mar 24, 2024

This patch introduces Pf2::Session which will serve as the main interaction layer from Ruby code.

SignalScheduler and TimerThreadScheduler are now hidden from Ruby code. All configuration shall now be done through Session, and Session will take care of Schedulers.

Usage

Pf2::Scheduler.new(scheduler: :signal)

@osyoyu osyoyu merged commit dd36c58 into main Mar 24, 2024
@osyoyu osyoyu deleted the session branch August 31, 2024 17:04
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.

1 participant