refactor(website): adjust typography (#8503)

This commit is contained in:
Suneet Tipirneni
2022-08-17 04:17:09 -04:00
committed by GitHub
parent d97cd936fd
commit 0f83402985
9 changed files with 43 additions and 44 deletions

View File

@@ -81,14 +81,14 @@ export interface OptionalWebSocketManagerOptions {
* Use `null` to simply spawn 0 through `shardCount - 1`
*
* @example
* ```
* ```ts
* const manager = new WebSocketManager({
* shardIds: [1, 3, 7], // spawns shard 1, 3, and 7, nothing else
* });
* ```
*
* @example
* ```
* ```ts
* const manager = new WebSocketManager({
* shardIds: {
* start: 3,
@@ -127,8 +127,9 @@ export interface OptionalWebSocketManagerOptions {
compression: CompressionMethod | null;
/**
* Function used to retrieve session information (and attempt to resume) for a given shard
*
* @example
* ```
* ```ts
* const manager = new WebSocketManager({
* async retrieveSessionInfo(shardId): Awaitable<SessionInfo | null> {
* // Fetch this info from redis or similar