chat / client / test / vectors / log-effects.json
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
{
  "updateOrdering": {
    "transcript": [
      [
        "script",
        "_onUpdate(e4) — its `next` names e3, which is unseen, so sweep first"
      ],
      [
        "db.iterator",
        500
      ],
      [
        "onEntry",
        "e1",
        1
      ],
      [
        "onEntry",
        "e2",
        2
      ],
      [
        "onEntry",
        "e3",
        3
      ],
      [
        "onEntry",
        "e4",
        4
      ],
      [
        "script",
        "_onUpdate(e4) again — every hash is seen now"
      ],
      [
        "script",
        "_onUpdate(e5) — `next` names e4, already seen, so no sweep"
      ],
      [
        "onEntry",
        "e5",
        5
      ],
      [
        "script",
        "_onUpdate(e6) and _onUpdate(e7) queued back to back, neither awaited"
      ],
      [
        "onEntry",
        "e6",
        6
      ],
      [
        "onEntry",
        "e7",
        7
      ]
    ],
    "onUpdateReturn": "undefined",
    "sweepsForThePair": 0,
    "emittedHashes": [
      "e1",
      "e2",
      "e3",
      "e4",
      "e5",
      "e6",
      "e7"
    ]
  },
  "returnTypes": {
    "transcript": [
      [
        "script",
        "emitUnseen()"
      ],
      [
        "db.iterator",
        500
      ],
      [
        "onEntry",
        "a1",
        1
      ],
      [
        "onEntry",
        "a2",
        2
      ],
      [
        "script",
        "_onUpdate(a3)"
      ],
      [
        "onEntry",
        "a3",
        3
      ]
    ],
    "emitUnseen": {
      "isThenable": true,
      "isTheChain": true,
      "emittedBeforeAwait": 0,
      "emittedAfterAwait": 2
    },
    "onUpdateReturn": "undefined"
  }
}

static mirror of HEAD · about · clone: git clone https://git.ardegazu.ro/chat.git