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

Expose global sink #751

Merged
merged 1 commit into from
Oct 31, 2024
Merged

Expose global sink #751

merged 1 commit into from
Oct 31, 2024

Conversation

dmjio
Copy link
Owner

@dmjio dmjio commented Oct 31, 2024

@dmjio dmjio force-pushed the expose-global-sink branch 2 times, most recently from 92d7dbd to 5187b97 Compare October 31, 2024 00:26
@dmjio
Copy link
Owner Author

dmjio commented Oct 31, 2024

cc @tysonzero

@dmjio
Copy link
Owner Author

dmjio commented Oct 31, 2024

Could even do

globalSink :: Sink action
globalSink = unsafePerformIO (readIORef globalSinkRef) 

@dmjio dmjio force-pushed the expose-global-sink branch 4 times, most recently from ca8d2a5 to 002eab7 Compare October 31, 2024 18:03
@dmjio dmjio merged commit 771d6ea into master Oct 31, 2024
3 checks passed
@dmjio dmjio deleted the expose-global-sink branch October 31, 2024 18:15
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