Skip to content
Fourohtwo

detect.halowerk.com/v1/F-A-NIGHT-OS-GO-CHANNELS/go-channel-buffer-close-rendezvo

Returns buffered FIFO versus unbuffered rendezvous completions and which operations remain blocked or panic after close, with explicit observed partner choice where scheduling is nondeterministic, for an offline Go channel fixture author.

BaseAnswering
POSThttps://detect.halowerk.com/v1/F-A-NIGHT-OS-GO-CHANNELS/go-channel-buffer-close-rendezvous

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://detect.halowerk.com/v1/F-A-NIGHT-OS-GO-CHANNELS/go-channel-buffer-close-rendezvous", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"artifact":{"go_channels":{"capacity":1,"claim":3,"events":[{"channel":0,"op":"send","peer":-1,"thread":0,"value":5},{"channel":0,"op":"send","peer":-1,"thread":1,"value":7},{"channel":0,"op":"receive","peer":-1,"thread":2},{"channel":0,"op":"receive","peer":-1,"thread":2},{"channel":0,"op":"close","peer":-1,"thread":0},{"channel":0,"op":"receive","peer":-1,"thread":2}]}}}),
});
console.log(await res.json());

Example input

{
  "artifact": {
    "go_channels": {
      "capacity": 1,
      "claim": 3,
      "events": [
        {
          "channel": 0,
          "op": "send",
          "peer": -1,
          "thread": 0,
          "value": 5
        },
        {
          "channel": 0,
          "op": "send",
          "peer": -1,
          "thread": 1,
          "value": 7
        },
        {
          "channel": 0,
          "op": "receive",
          "peer": -1,
          "thread": 2
        },
        {
          "channel": 0,
          "op": "receive",
          "peer": -1,
          "thread": 2
        },
        {
          "channel": 0,
          "op": "close",
          "peer": -1,
          "thread": 0
        },
        {
          "channel": 0,
          "op": "receive",
          "peer": -1,
          "thread": 2
        }
      ]
    }
  }
}