Skip to main content
These examples describe the current Bijection CLI and SDK source. Use builds from the same source commit for these APIs. The public CLI and npm SDK are published independently and may lag this reference.
A committed customers.rename proves that the requested name and the task committed. It does not prove that the CRM applied the name.

Read the result

The continuation declares an argument result: t.result(api.renameCustomer). The delivery of the task fills it with the task’s Result:
bijection/customers.ts
renameResult is the example’s own pure helper in bijection/crm.ts: it reads the CRM’s answer into one of the statuses below. A send whose answer was lost is resent under the same once and bytes, so the CRM answers its original receipt. Never submit with a new once to “retry” an Unknown result: that is a second rename.

See the observation

An applied rename is not an observation. customers.directory shows the requested_name beside the CRM’s observed_name, which changes only when the feed reads the account back on its next pass. Writers can ask for a pass now with feed.control.refresh; a pass that starts before the CRM applied the rename cannot observe it. Continue with the customer account example as the app map.