Skip to content

Instantly share code, notes, and snippets.

from datetime import datetime
import asyncio
import psutil
async def send(msg):
await asyncio.sleep(5)
print(msg)
@TiberioG
TiberioG / functional.ts
Last active June 19, 2024 22:43
Implementing Some, None Match and Apply with Typescript
interface Some<T> {
value: T
}
interface None {
}
type Option<T> = Some<T> | None
const none: Option<never> = {};
We can make this file beautiful and searchable if this error is corrected: No tabs found in this TSV file in line 0.
[UNK]
the
to
and
of
a
in
that
for
is