Skip to content

Commit 0813e44

Browse files
committed
docs: /multiple-clients
1 parent 1d94adf commit 0813e44

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

packages/telefunc.com/headings.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ const headingsDetached: HeadingDetachedDefinition[] = [
2828
title: 'Initial Data',
2929
url: '/initial-data',
3030
},
31+
{
32+
title: 'Multiple Clients',
33+
url: '/multiple-clients',
34+
},
3135
]
3236

3337
const headings: HeadingDefinition[] = [

packages/telefunc.com/pages/event-based/+Page.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,6 @@ Telefunc shows a warning if you don't follow the naming convention — you can r
263263
> [Feel free to reach out](https://github.com/brillout/telefunc/issues/new) if you have questions.
264264
265265
266-
## Exception: several clients
266+
## See also
267267
268-
If your telefunctions are used by multiple clients, it can make sense to define a few generic telefunctions that cover all clients, instead of creating different telefunctions for each client.
269-
270-
> Alternatively, you can deploy one Telefunc server per client to preserve the fast development speed of tailored telefunctions.
268+
- <Link href="/multiple-clients" />
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { Link } from '@brillout/docpress'
2+
3+
If your telefunctions are used by multiple clients, we recommend deploying one Telefunc server per client, in order to preserve all the <Link href="/event-based">benefits of event-based telefunctions</Link>. In other words, each client uses a different set of event-based telefunctions.
4+
5+
That said, if the client needs are similar, it case make sense to <Link href="/event-based#opt-out">opt-out of event-based telefunctions</Link> and create telefunctions that are slight more generic.
6+
7+
8+
## See also
9+
10+
- <Link href="/event-based" />

0 commit comments

Comments
 (0)