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

[Meteor 3] Update package to async #149

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sebastianspiller
Copy link

Hello there!

I made some changes to make synced cron work with async. I also translated it to es6, which I will add in a future pr, so that we can discuss changes in smaller steps.

In tiny test, I still get errors with, so it is just a wip pr:

  • exception - message Cannot await without a Fiber
  • exception - message Meteor code must always run within a Fiber. Try wrapping callbacks that you pass to non-Meteor libraries with Meteor.bindEnvironment.

It would be nice, if you have a look, thank you.

Regards
Sebastian

@Grubba27 Grubba27 changed the title wip: updated to async, but tests still fail [Meteor 3] Update package to async Dec 4, 2023
Copy link

@dallman2 dallman2 left a comment

Choose a reason for hiding this comment

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

I am doing the same thing to allow my Meteor 3 app to run. Please merge these changes.

domq pushed a commit to epfl-si/wp-veritas that referenced this pull request May 28, 2024
Because `percolate:meteor-synced-cron` uses MongoDB to store its state, we need to merge in [PR 149](percolatestudio/meteor-synced-cron#149) for Meteor 3.0 compatibility, which the maintainer has yet to do at the time of this commit.

- Make it so that all the runtime environments (`Makefile` for development; `Dockerfile` for integration and production) apply the [proper technique](https://guide.meteor.com/v1.3/writing-atmosphere-packages.html#overriding-atmosphere-packages) to use the forked package
- Enroll the forked package into `.meteor/packages` / `.meteor/versions` with
  ```shell
  meteor add percolate:synced-cron
  ```
domq pushed a commit to epfl-si/wp-veritas that referenced this pull request May 29, 2024
Because `percolate:meteor-synced-cron` uses MongoDB to store its state, we need to merge in [PR 149](percolatestudio/meteor-synced-cron#149) for Meteor 3.0 compatibility, which the maintainer has yet to do at the time of this commit.

- Make it so that all the runtime environments (`Makefile` for development; `Dockerfile` for integration and production) apply the [proper technique](https://guide.meteor.com/v1.3/writing-atmosphere-packages.html#overriding-atmosphere-packages) to use the forked package
- Enroll the forked package into `.meteor/packages` / `.meteor/versions` with
  ```shell
  meteor add percolate:synced-cron
  ```
domq pushed a commit to epfl-si/wp-veritas that referenced this pull request May 29, 2024
Because `percolate:meteor-synced-cron` uses MongoDB to store its state, we need to merge in [PR 149](percolatestudio/meteor-synced-cron#149) for Meteor 3.0 compatibility, which the maintainer has yet to do at the time of this commit.

- Make it so that all the runtime environments (`Makefile` for development; `Dockerfile` for integration and production) apply the [proper technique](https://guide.meteor.com/v1.3/writing-atmosphere-packages.html#overriding-atmosphere-packages) to use the forked package
- Enroll the forked package into `.meteor/packages` / `.meteor/versions` with
  ```shell
  meteor add percolate:synced-cron
  ```
domq pushed a commit to epfl-si/wp-veritas that referenced this pull request May 29, 2024
Because `percolate:meteor-synced-cron` uses MongoDB to store its state, we need to merge in [PR 149](percolatestudio/meteor-synced-cron#149) for Meteor 3.0 compatibility, which the maintainer has yet to do at the time of this commit.

- Make it so that all the runtime environments (`Makefile` for development; `Dockerfile` for integration and production) apply the [proper technique](https://guide.meteor.com/v1.3/writing-atmosphere-packages.html#overriding-atmosphere-packages) to use the forked package
- Enroll the forked package into `.meteor/packages` / `.meteor/versions` with
  ```shell
  meteor add percolate:synced-cron
  ```
@@ -4,7 +4,7 @@
"later": {

Choose a reason for hiding this comment

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

this package is deprecated and recommended to change to: @breejs/later

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.

4 participants