A citizen portal must wait for a function’s response body before rendering the next page. Which OCI Functions invoke type should the portal use?
Select an answer to reveal the explanation.
Short Explanation
Sync invoke is a phone call that stays on the line until the answer comes back. Detached hangs up once work has started and lets the function finish without holding the HTTP client.
Full Explanation
Official invoke types: sync runs the function and returns the result to the caller; detached returns as soon as processing has begun and leaves result handling to the function. Use sync when the client must wait for the body. Detached is not a second product and is not OCI Queue or Streaming; those services solve different messaging problems.