Use the /collab command on Discord to gain access to the OneJS private repo. The repo offers early access to the latest features and fixes that may not yet be available on the Asset Store. An early preview of OneJS V2 is available on branch onejs-v2. It brings major performance improvements, zero-allocation interop, and a new esbuild workflow.

Async Await with C# Task

// C#
public class Foo : MonoBehaviour {
    public async Task<string> GetAsyncString() {
        await Task.Delay(1000);
        return "GetAsyncString";
    public async Task DoAsyncMethod() {
        await Task.Delay(1000);
// TS
var foo = require("foo")

async function test() {
    const text = await foo.GetAsyncString()
    await foo.DoAsyncMethod()