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
ReferenceError: Cannot access 'chargeCard' before initialization
at ReferenceExpr.ref (/home/sussmans/functionless/test-app/src/order-processing-queue.ts:404:37)
// use a Standard Step Function to orchestrate order fulfillmentconstprocessOrder=newStepFunction(stack,"ProcessOrder",async(order: OrderPlacedEvent)=>{awaitchargeCard(order);awaitdispatchOrder(order);});constchargeCard=newFunction(stack,"PlaceOrder",async(order: OrderPlacedEvent)=>{console.log("Card Charged! (not)",order);});
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: