function init()

in azure-pipelines-wrapper/check_run.js [209:220]


function init(app) {
    app.log.info("Init check_run!");
  
    app.on("check_run.completed", async (context) => {
        console.log("check run completed");
        await check_run_completed_handler(context);
      });
    app.on("check_run.rerequested", async (context) => {
        console.log("check run rerequested");
        await create_checks_by_rerequested(context);
      });
  };