Skip to content

Commit 2a43817

Browse files
Minimal async documentation.
1 parent 4bdd6cb commit 2a43817

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

doc/reference/modules/quickstart.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,12 @@ finally
420420
cases.
421421
</para>
422422

423+
<para>
424+
Since NHibernate 5.0, the session and its queries IO bound methods have async counterparts.
425+
Each call to an async method must be awaited before further interacting with the session or
426+
its queries.
427+
</para>
428+
423429
</sect1>
424430

425431
<sect1 id="quickstart-summary">

doc/reference/modules/transactions.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,11 @@
9393
Never access the same <literal>ISession</literal> in two concurrent threads.
9494
An <literal>ISession</literal> is usually only a single unit-of-work!
9595
</para>
96+
<para>
97+
Since NHibernate 5.0, the session and its queries IO bound methods have async counterparts.
98+
Each call to an async method must be awaited before further interacting with the session or
99+
its queries.
100+
</para>
96101
</listitem>
97102
</itemizedlist>
98103
</sect1>

0 commit comments

Comments
 (0)