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

Refcount Isolate instead of borrowing it #4

Merged
merged 4 commits into from
Oct 7, 2016
Merged

Conversation

dflemstr
Copy link
Owner

@dflemstr dflemstr commented Oct 6, 2016

This should hopefully simplify the API a lot by not forcing the user to use lifetimes. It also enables us to avoid one level of indirection when adding callbacks, bringing us closer to unboxed-ish closures.

@codecov-io
Copy link

codecov-io commented Oct 6, 2016

Current coverage is 89.14% (diff: 100%)

Merging #4 into master will decrease coverage by 0.80%

@@             master         #4   diff @@
==========================================
  Files            11         11          
  Lines           995       1032    +37   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            895        920    +25   
- Misses          100        112    +12   
  Partials          0          0          

Powered by Codecov. Last update 895e99a...6be67c7

@dflemstr dflemstr merged commit 4fac0c6 into master Oct 7, 2016
@dflemstr dflemstr deleted the refcount-isolate branch October 7, 2016 01:51
@tcosprojects
Copy link
Contributor

Great change. This resolves an issue I was running into where I couldn't hold a context and an isolate in a struct together. Thanks!

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.

3 participants