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(std/wasi): add support for initializing reactors #8603

Conversation

caspervonb
Copy link
Contributor

This adds another entry point to Context called initialize for spinning up style modules.

Node has a similar API: https://nodejs.org/api/wasi.html#wasi_wasi_initialize_instance

For context, reactors are modules that don't have a main function and basically run forever in the background.

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM

@bartlomieju bartlomieju merged commit de036e1 into denoland:master Dec 3, 2020
caspervonb added a commit to caspervonb/deno_std that referenced this pull request Jan 21, 2021
…8603)

This adds another entry point to Context called initialize for 
spinning up style modules.

Reactors are modules that don't have a main function and 
basically run forever in the background.
caspervonb added a commit to caspervonb/deno_std that referenced this pull request Jan 24, 2021
This adds another entry point to Context called initialize for 
spinning up style modules.

Reactors are modules that don't have a main function and 
basically run forever in the background.
caspervonb added a commit to caspervonb/deno_std that referenced this pull request Jan 24, 2021
This adds another entry point to Context called initialize for 
spinning up style modules.

Reactors are modules that don't have a main function and 
basically run forever in the background.
caspervonb added a commit to caspervonb/deno_std that referenced this pull request Jan 24, 2021
This adds another entry point to Context called initialize for 
spinning up style modules.

Reactors are modules that don't have a main function and 
basically run forever in the background.
caspervonb added a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
This adds another entry point to Context called initialize for 
spinning up style modules.

Reactors are modules that don't have a main function and 
basically run forever in the background.
caspervonb added a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
This adds another entry point to Context called initialize for 
spinning up style modules.

Reactors are modules that don't have a main function and 
basically run forever in the background.
caspervonb added a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
This adds another entry point to Context called initialize for 
spinning up style modules.

Reactors are modules that don't have a main function and 
basically run forever in the background.
caspervonb added a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
This adds another entry point to Context called initialize for 
spinning up style modules.

Reactors are modules that don't have a main function and 
basically run forever in the background.
caspervonb added a commit to caspervonb/deno_std that referenced this pull request Feb 1, 2021
This adds another entry point to Context called initialize for 
spinning up style modules.

Reactors are modules that don't have a main function and 
basically run forever in the background.
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