about summary refs log tree commit diff
path: root/corp
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2023-10-20T21·09+0200
committerclbot <clbot@tvl.fyi>2023-10-20T21·14+0000
commit3b882d7510c4652df14fb53d2a9c1ca3cebd35a3 (patch)
treebc276a50e3ae447d3f7c7a325be0095ff22e201c /corp
parent7ec7f92812a4693876754575e72794e9010e0391 (diff)
feat(users/Profpatsch/openlab-tools): introduce handler abstraction r/6866
I’ve been wanting to experiment with this stuff for a while,
abstracting away a handler type.

The existentials for parser and body took a bit of mucking about, but
in the end hiding the variable behind a `Body` constructor did the
trick.

Now every handler has its own cache, which means we can start caching
arbitrary results.

Change-Id: If57230c47f97ef4c548683f2c2f27660817a31f2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9812
Autosubmit: Profpatsch <mail@profpatsch.de>
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'corp')
0 files changed, 0 insertions, 0 deletions