Skip to content

Calling a Function in Index.js from Cloud Function  #4531

Closed
@skparticles

Description

@skparticles

I know how to call a function and pass values from index.js to Cloud Code

How to do this in reverse side? Calling a function in Index.js from a Cloud function.

index.js

//Parse Server Initialization
var api = new ParseServer({
    databaseURI: databaseUri,
......
});

function call_this_function_from_cloud_code(req ,res){
}

cloud/main.js

function cloud_function_to_call(){
   //How to call 
   //call_this_function_from_cloud_code
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions