SharedStorageRunOperation: phương thức run()

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

Phương thức run() của giao diện SharedStorageRunOperation xác định cấu trúc mà phương thức run() được định nghĩa bên trong thao tác Run output gate phải tuân theo.

Cú pháp

js
run(data)

Tham số

data

Đối tượng đại diện cho bất kỳ dữ liệu nào cần thiết để thực thi thao tác.

Giá trị trả về

Một Promise được hoàn thành với undefined.

Ví dụ

Xem trang chính SharedStorageRunOperation để biết ví dụ.

Thông số kỹ thuật

Tính năng này dường như chưa được định nghĩa trong bất kỳ thông số kỹ thuật nào.

Tương thích trình duyệt

Xem thêm