LiJinHuan
2024-01-05 462188a2c982b0a8750dfe01692dfd898216bb0c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
global class EventBus {
    /**
     * retrieve Operation Id from a save result
     */
    global static String getOperationId(Object result) { }
    /**
     * Publish a set of Platform Events, returning the api save results
     */
    global static List<Database.SaveResult> publish(List<SObject> sobjects, Object callback) { }
    /**
     * Publish a Platform Event with the given callback, returning the api save results
     */
    global static Database.SaveResult publish(SObject sobject, Object callback) { }
    /**
     * Publish a set of Platform Events, returning the api save results
     */
    global static List<Database.SaveResult> publish(List<SObject> sobjects) { }
    /**
     * Publish a Platform Event, returning the api save results
     */
    global static Database.SaveResult publish(SObject sobject) { }
 
}