lightning-component-apex-continuation icon indicating copy to clipboard operation
lightning-component-apex-continuation copied to clipboard

Sample app showing how to invoke an Apex Continuation from a Lightning Component

Calling an Apex Continuation from a Lightning Component

Read this blog post to learn more about the examples in this repository.

Installation Instructions

  1. Authenticate with your hub org (if not already done):

    sfdx force:auth:web:login -d -a myhuborg
    
  2. Clone the repository:

    git clone https://github.com/ccoenraets/lightning-component-apex-continuation
    cd lightning-component-apex-continuation
    
  3. Create a scratch org and provide it with an alias (continuations):

    sfdx force:org:create -s -f config/project-scratch-def.json -a continuations
    
  4. Push the app to your scratch org:

    sfdx force:source:push
    
  5. Assign the continuation permission set to the default user:

    sfdx force:user:permset:assign -n continuation
    
  6. Open the scratch org:

    sfdx force:org:open
    
  7. Open the Continuation sample app in the App Launcher