Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/victorgz/sfdc-apex-continuations
Examples of the implementation and testing of Apex Continuations in LWC and Aura
https://github.com/victorgz/sfdc-apex-continuations
apex apex-continuations lwc salesforce salesforce-developers
Last synced: 5 days ago
JSON representation
Examples of the implementation and testing of Apex Continuations in LWC and Aura
- Host: GitHub
- URL: https://github.com/victorgz/sfdc-apex-continuations
- Owner: victorgz
- License: mit
- Created: 2020-05-12T13:50:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T03:57:21.000Z (almost 2 years ago)
- Last Synced: 2024-08-02T12:21:26.810Z (3 months ago)
- Topics: apex, apex-continuations, lwc, salesforce, salesforce-developers
- Language: Apex
- Homepage: https://developer.salesforce.com/blogs/2020/05/apex-continuations-implementation-and-testing-in-aura-lwc.html
- Size: 1.07 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-lwc - Apex Continuations (LWC and Aura)
README
# Apex Continuations: Implementation and testing in Aura and Lighting Web Components
## Installation with SFDX
1. Set up your environment. If you haven't done it yet, follow the steps in the Quick Start: [Lightning Web Components Trailhead project](https://trailhead.salesforce.com/content/learn/projects/quick-start-lightning-web-components/):
- Enable a Dev Hub in your Trailhead Playground
- Install the Salesforce CLI
- Install Visual Studio Code
- Install the Visual Studio Code Salesforce extensions, including the Lightning Web Components extension2. Authenticate with your hub org and provide it with an alias (myhuborg in the command below):
```
sfdx force:auth:web:login -d -a myhuborg
```3. Clone the repository:
```
git clone https://github.com/victorgz/sfdc-apex-continuations
cd sfdc-apex-continuations
```4. Create a scratch org and provide it with an alias (continuations_scratch in the command below):
```
sfdx force:org:create -s -f config/project-scratch-def.json -a continuations_scratch
```5. Push the app to your scratch org:
```
sfdx force:source:push
```6. Open the scratch org:
```
sfdx force:org:open
```Now the code is ready in your scratch org, and you can test the different Lightning Web Components inside your pages
## Contributing
Pull requests are welcome. For major changes, please [open an issue](https://github.com/victorgz/sfdc-apex-continuations/issues) first to discuss what you would like to change.