The judgment creditor may apply to the court in which an action under this article is pending for either or both of the following:
(a) An order restraining the third person from transferring to the judgment debtor the property in which the judgment debtor is claimed to have an interest or from paying to the judgment debtor the alleged debt. The order shall be made on noticed motion if the court so directs or a court rule so requires. Otherwise, the order may be made on ex parte application. The order shall remain in effect until judgment is entered in the action or until such earlier time as the court may provide in the order. An undertaking may be required in the discretion of the court. The court may modify or vacate the order at any time with or without a hearing on such terms as are just.
(b) A temporary restraining order or a preliminary injunction or both, restraining the third person from transferring to any person or otherwise disposing of the property in which the judgment debtor is claimed to have an interest, pursuant to Chapter 3 (commencing with Section 525) of Title 7, and the court may make, dissolve, and modify such orders as provided therein.
(Added by Stats. 1982, Ch. 1364, Sec. 2. Operative July 1, 1983, by Sec. 3 of Ch. 1364.)