You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/commandline.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -677,7 +677,7 @@ Your project should be a git repository as the commit hash is going to be used t
677
677
The `cache-build` option is available since Meteor 1.11.
678
678
{% endpullquote %}
679
679
680
-
With the argument `--container-size` you can change your app's container size using the deploy command. The valid arguments are: `tiny`, `compact`, `standard`, `double`, `quad`, `octa`, and `dozen`. One more thing to note here is that the `--container-size` flag can only be used when the `--plan` option is already specified, otherwise using the `--container-size` option will throw an error with the message : `Error deploying application: Internal error`. To see more about the difference and prices of each one you can check [here](https://www.meteor.com/cloud#pricing-section).
680
+
With the argument `--container-size` you can change your app's container size using the deploy command. The valid arguments are: `tiny`, `compact`, `standard`, `double`, `quad`, `octa`, and `dozen`. One more thing to note here is that the `--container-size` flag can only be used when the `--plan` option is already specified, otherwise using the `--container-size` option will throw an error with the message : `Error deploying application: Internal error`. To see more about the difference and prices of each one you can check [here](https://galaxycloud.app/meteorjs/pricing).
681
681
682
682
{% pullquote warning %}
683
683
The `--container-size` option is available since Meteor 2.4.1.
Copy file name to clipboardExpand all lines: guide/source/deployment.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -194,7 +194,7 @@ MONGO_URL=mongodb://localhost:27017/myapp ROOT_URL=http://my-app.com PORT=3000 n
194
194
```
195
195
196
196
*`ROOT_URL` is the base URL for your Meteor project
197
-
*`PORT` is the port at which the application is running
197
+
*`PORT` is the port at which the application is running
198
198
*`MONGO_URL` is a [Mongo connection string URI](https://docs.mongodb.com/manual/reference/connection-string/) supplied by the MongoDB provider.
199
199
200
200
@@ -322,7 +322,7 @@ Galaxy's UI provides a detailed logging system, which can be invaluable to deter
322
322
323
323
If you really want to understand the ins and outs of running your Meteor application, you should use an Application Performance Monitoring (APM) service. There are multiple services designed for Meteor apps:
Copy file name to clipboardExpand all lines: npm-packages/eslint-plugin-meteor/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ meteor
56
56
57
57
Building an application with Meteor?
58
58
59
-
* Deploy on Galaxy hosting: https://www.meteor.com/cloud
59
+
* Deploy on Galaxy hosting: https://galaxycloud.app/
60
60
* Announcement list: sign up at https://www.meteor.com/
61
61
* Discussion forums: https://forums.meteor.com/
62
62
* Join the Meteor community Slack by clicking this [invite link](https://join.slack.com/t/meteor-community/shared_invite/enQtODA0NTU2Nzk5MTA3LWY5NGMxMWRjZDgzYWMyMTEyYTQ3MTcwZmU2YjM5MTY3MjJkZjQ0NWRjOGZlYmIxZjFlYTA5Mjg4OTk3ODRiOTc).
@@ -398,7 +395,6 @@ even if the method's writes are not available yet, you can specify an
398
395
Use `Meteor.call` only to call methods that do not have a stub, or have a sync stub. If you want to call methods with an async stub, `Meteor.callAsync` can be used with any method.
399
396
:::
400
397
401
-
402
398
<ApiBoxname="Meteor.callAsync" />
403
399
404
400
`Meteor.callAsync` is just like `Meteor.call`, except that it'll return a promise that you need to solve to get the server result. Along with the promise returned by `callAsync`, you can also handle `stubPromise` and `serverPromise` for managing client-side simulation and server response.
@@ -409,64 +405,63 @@ The following sections guide you in understanding these promises and how to mana
409
405
410
406
```javascript
411
407
try {
412
-
awaitMeteor.callAsync('greetUser', 'John');
413
-
// 🟢 Server ended with success
414
-
} catch(e) {
415
-
console.error("Error:", error.reason); // 🔴 Server ended with error
408
+
awaitMeteor.callAsync("greetUser", "John");
409
+
// 🟢 Server ended with success
410
+
} catch(e) {
411
+
console.error("Error:", error.reason); // 🔴 Server ended with error
416
412
}
417
413
418
-
Greetings.findOne({ name:'John' }); // 🗑️ Data is NOT available
414
+
Greetings.findOne({ name:"John" }); // 🗑️ Data is NOT available
Greetings.findOne({ name:'John' }); // 🧾 Data is available (Optimistic-UI)
434
+
Greetings.findOne({ name:"John" }); // 🧾 Data is available (Optimistic-UI)
439
435
440
436
try {
441
437
await serverPromise;
442
438
// 🟢 Server ended with success
443
-
} catch(e) {
439
+
} catch(e) {
444
440
console.error("Error:", error.reason); // 🔴 Server ended with error
445
441
}
446
442
447
-
Greetings.findOne({ name:'John' }); // 🗑️ Data is NOT available
443
+
Greetings.findOne({ name:"John" }); // 🗑️ Data is NOT available
448
444
```
449
445
450
446
#### Meteor 2.x contrast
451
447
452
448
For those familiar with legacy Meteor 2.x, the handling of client simulation and server response was managed using fibers, as explained in the following section. This comparison illustrates how async inclusion with standard promises has transformed the way Meteor operates in modern versions.
0 commit comments