scheduler.ScheduleFunction interface

Loại Chức năng đám mây dành cho trình kích hoạt Lịch trình.

Chữ ký:

export interface ScheduleFunction extends HttpsFunction 

Mở rộng: HttpsFunction

Của cải

Tài sản Kiểu Sự miêu tả
__bắt buộcAPI ManifestRequiredAPI[]

phương pháp

Phương pháp Sự miêu tả
chạy (dữ liệu)

lịch trình.ScheduleFunction.__requiredAPI

Chữ ký:

__requiredAPIs?: ManifestRequiredAPI[];

lịch trình.ScheduleFunction.run()

Chữ ký:

run(data: ScheduledEvent): void | Promise<void>;

Thông số

Tham số Kiểu Sự miêu tả
dữ liệu Sự kiện theo lịch trình

Trả về:

trống | Hứa<void>