Metakit / @doeixd/metakit

WriteProperties

interface · packages/metakit/src/ops/ways.ts:80

interface WriteProperties {
  readonly commutes: {
    readonly [Way in WayOfWriting]?: CommuteCondition
  }
  readonly idempotent?: IdempotentCondition
}

Members

WriteProperties.commutes

property · packages/metakit/src/ops/ways.ts:82

readonly commutes: {
  readonly [Way in WayOfWriting]?: CommuteCondition
}

The ways a write of this way commutes with on one path, and on what condition; any other does not decide.

WriteProperties.idempotent

property · packages/metakit/src/ops/ways.ts:84

readonly idempotent?: IdempotentCondition

When this way twice is once; absent where it is not (an add counts twice, an append lists twice).