Description of icon
Flex UI
API Reference

ProfileConnectorHelper

Helper class for Profile Connector.


eraseProfileConnectSidForTask(taskSid) => unknown#

Erase profileConnectSid for a task - allow this to be undefined so TaskContext does not immediately re-fetch.

Parameters:

  • taskSid: string

    the taskSid to erase profileConnectSid for

Example:

import { ProfileConnectorHelper } from "@twilio/flex-ui";
ProfileConnectorHelper.eraseProfileConnectSidForTask(taskSid);
Rate this page

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.