• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "Aki TaskRunner PostTask": {
3    "prefix": "akiposttask",
4    "body": [
5      "// PostTask submits a lambda to the \"main\" task scheduler for execution in its managed threads. Initialize the scheduler with JSBind.initTaskRunner(\"main\") before using PostTask.",
6      "aki::TaskRunner::PostTask(\"main\", []() {",
7        "// execute on Js thread",
8        "// Todo: do something",
9      "});"
10    ]
11  }
12}