Skip to content

[Meteor 3] Update package to async#149

Closed
sebastianspiller wants to merge 4 commits into
meteor:masterfrom
sebastianspiller:update-to-async
Closed

[Meteor 3] Update package to async#149
sebastianspiller wants to merge 4 commits into
meteor:masterfrom
sebastianspiller:update-to-async

Conversation

@sebastianspiller

Copy link
Copy Markdown

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

@dallman2 dallman2 left a comment

Copy link
Copy Markdown

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 added 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](meteor/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 added 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](meteor/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 added 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](meteor/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 added 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](meteor/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": {

Copy link
Copy Markdown

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

@sebastianspiller sebastianspiller closed this by deleting the head repository May 13, 2026
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